Improve Vagrant setup

Use debian/contrib-jessie64 base box, install python-cryptography before
saltstack bootstrap.
This commit is contained in:
Jan Dittberner 2016-09-25 01:10:17 +02:00
parent 88d8a29a14
commit 8d14826169
2 changed files with 10 additions and 2 deletions

View file

@ -1,5 +1,10 @@
#!/bin/sh -
echo "deb http://httpredir.debian.org/debian jessie-backports main" >/etc/apt/sources.list.d/backports.list
apt-get update
apt-get install -y -t jessie-backports python-cryptography
# We just download the bootstrap script by default and execute that.
if [ -x /usr/bin/fetch ]; then
/usr/bin/fetch -o - https://raw.githubusercontent.com/saltstack/salt-bootstrap/stable/bootstrap-salt.sh | sh -s -- "$@"