Vagrant/Fabric setup for testing Ubuntu, FreeBSD
This commit is contained in:
13
vagrant/freebsd10/Vagrantfile
vendored
13
vagrant/freebsd10/Vagrantfile
vendored
@ -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
|
||||
|
||||
Reference in New Issue
Block a user