Update vagrant setup to stretch64 with LXC
This commit is contained in:
parent
cab9e9701b
commit
1091084438
2 changed files with 3 additions and 10 deletions
9
Vagrantfile
vendored
9
Vagrantfile
vendored
|
@ -2,21 +2,16 @@
|
||||||
# vi: set ft=ruby :
|
# vi: set ft=ruby :
|
||||||
|
|
||||||
Vagrant.configure(2) do |config|
|
Vagrant.configure(2) do |config|
|
||||||
config.vm.box = "debian/contrib-jessie64"
|
config.vm.box = "debian/stretch64"
|
||||||
|
|
||||||
config.vm.hostname = "gvaldap.local"
|
config.vm.hostname = "gvaldap.local"
|
||||||
config.vm.network "private_network", ip: "172.16.3.3"
|
config.vm.network "private_network", ip: "172.16.3.3", lxc__bridge_name: 'vlxcbr1'
|
||||||
|
|
||||||
config.vm.network "forwarded_port", guest: 8000, host: 8001
|
config.vm.network "forwarded_port", guest: 8000, host: 8001
|
||||||
|
|
||||||
config.vm.synced_folder "../gvasalt/states/", "/srv/salt/"
|
config.vm.synced_folder "../gvasalt/states/", "/srv/salt/"
|
||||||
config.vm.synced_folder "../gvasalt/pillar/", "/srv/pillar/"
|
config.vm.synced_folder "../gvasalt/pillar/", "/srv/pillar/"
|
||||||
|
|
||||||
config.vm.provider "virtualbox" do |vb|
|
|
||||||
# vb.gui = true
|
|
||||||
vb.memory = "512"
|
|
||||||
end
|
|
||||||
|
|
||||||
config.vm.provision :salt do |salt|
|
config.vm.provision :salt do |salt|
|
||||||
salt.bootstrap_script = "salt/bootstrap.sh"
|
salt.bootstrap_script = "salt/bootstrap.sh"
|
||||||
salt.minion_id = "gvaldap"
|
salt.minion_id = "gvaldap"
|
||||||
|
|
|
@ -1,9 +1,7 @@
|
||||||
#!/bin/sh -
|
#!/bin/sh -
|
||||||
|
|
||||||
echo "deb http://httpredir.debian.org/debian jessie-backports main" >/etc/apt/sources.list.d/backports.list
|
|
||||||
|
|
||||||
apt-get update
|
apt-get update
|
||||||
apt-get install -y -t jessie-backports python-cryptography
|
apt-get install -y python-cryptography
|
||||||
|
|
||||||
# We just download the bootstrap script by default and execute that.
|
# We just download the bootstrap script by default and execute that.
|
||||||
if [ -x /usr/bin/fetch ]; then
|
if [ -x /usr/bin/fetch ]; then
|
||||||
|
|
Loading…
Reference in a new issue