vagrant-lxc-ng/boxes/common/install-salt
Adam Stokes 5b5719295d Include saltstack support within custom lxc builds
Signed-off-by: Adam Stokes <adam.stokes@ubuntu.com>
2013-07-19 16:48:21 -04:00

11 lines
250 B
Bash
Executable file

#!/bin/bash
cache=`readlink -f .`
rootfs="${cache}/rootfs"
echo "installing salt"
chroot $rootfs add-apt-repository -y ppa:saltstack/salt
chroot $rootfs apt-get update
chroot $rootfs apt-get install salt-minion -y --force-yes
rm -rf $rootfs/tmp/*