Skip to content

Commit e392334

Browse files
build: use FreeBSD 15 for vagrant builds by default
Now that CE is on FreeBSD-15.0-CURRENT this should be the default for all builds
1 parent 6e2fa88 commit e392334

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

Vagrantfile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,19 @@
11
Vagrant.configure("2") do |config|
22
config.vm.guest = :freebsd
3-
config.vm.box = ENV['FREEBSD_VERSION'] || "freebsd/FreeBSD-14.0-CURRENT"
3+
config.vm.box = ENV['FREEBSD_VERSION'] || "freebsd/FreeBSD-15.0-CURRENT"
44
config.vm.synced_folder ".", "/vagrant", id: "vagrant-root", disabled: true
55
config.ssh.shell = "sh"
66
config.vm.base_mac = "080027D14C66"
77

88
config.vm.provision "shell", inline: <<-SHELL
99
pkg update
1010
pkg upgrade
11-
pkg install -y python38
11+
pkg install -y python311
1212
pkg install -y php82-composer
1313
pkg install -y gitup
1414
gitup ports
15-
su vagrant -c "python3.8 -m ensurepip"
16-
su vagrant -c "python3.8 -m pip install jinja2"
15+
su vagrant -c "python3.11 -m ensurepip"
16+
su vagrant -c "python3.11 -m pip install jinja2"
1717
SHELL
1818
config.vm.provider "virtualbox" do |vb|
1919
vb.customize ["modifyvm", :id, "--memory", "1024"]

vagrant-build.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/bin/sh
22

33
# Set build variables
4-
FREEBSD_VERSION=${FREEBSD_VERSION:-"freebsd/FreeBSD-14.0-CURRENT"}
4+
FREEBSD_VERSION=${FREEBSD_VERSION:-"freebsd/FreeBSD-15.0-CURRENT"}
55
BUILD_VERSION=${BUILD_VERSION:-"0.0_0-dev"}
66

77
# Start the vagrant box
@@ -19,7 +19,7 @@ rsync -avz --progress -e "ssh -F $SSH_CONFIG_FILE" ../pfsense-api vagrant@defaul
1919
cat << END | vagrant ssh
2020
composer install --working-dir /home/vagrant/build/pfsense-api
2121
cp -r /home/vagrant/build/pfsense-api/vendor/* /home/vagrant/build/pfsense-api/pfSense-pkg-RESTAPI/files/usr/local/pkg/RESTAPI/.resources/vendor/
22-
python3.8 /home/vagrant/build/pfsense-api/tools/make_package.py -t $BUILD_VERSION
22+
python3.11 /home/vagrant/build/pfsense-api/tools/make_package.py -t $BUILD_VERSION
2323
END
2424

2525
# Copy the built package back to the host using SCP

0 commit comments

Comments
 (0)