vagrant-lxc-ng/boxes/common/install-salt
Adam Stokes 7ef475c7e1 Include python-software-properties
For some reason I never had this in the common script and apt-add-repository
was not provided. This solves that.

Signed-off-by: Adam Stokes <adam.stokes@ubuntu.com>
2014-03-09 21:19:55 -03:00

13 lines
294 B
Bash
Executable file

#!/bin/bash
set -e
rootfs=$1
echo "installing salt"
chroot $rootfs apt-get install python-software-properties -y --force-yes
chroot $rootfs apt-add-repository -y ppa:saltstack/salt
chroot $rootfs apt-get update
chroot $rootfs apt-get install salt-minion -y --force-yes
rm -rf $rootfs/tmp/*