Vagrant/Fabric setup for testing Ubuntu, FreeBSD

This commit is contained in:
Nathan Fiedler
2016-02-13 13:09:06 -08:00
parent 0c3c8888a7
commit dd78d6bfac
8 changed files with 121 additions and 46 deletions

View File

@ -3,7 +3,9 @@
#
Vagrant.configure(2) do |config|
config.vm.box = "freebsd/FreeBSD-10.2-RELEASE"
config.ssh.shell = 'sh'
config.vm.box = 'freebsd/FreeBSD-10.2-RELEASE'
# this box needs a MAC address
config.vm.base_mac = '0800273E2877'
@ -13,11 +15,14 @@ Vagrant.configure(2) do |config|
vb.memory = 2048
end
config.vm.synced_folder '.', '/vagrant', disabled: true
config.vbguest.auto_update = false
# bring the system up to date
config.vm.provision "shell", inline: <<-SHELL
config.vm.provision 'shell', privileged: false, inline: <<-SHELL
sudo freebsd-update fetch install
sudo pkg update
sudo pkg upgrade -y
sudo pkg update -q
sudo pkg upgrade -q -y
sudo pkg autoremove -y
sudo pkg clean -y
SHELL