2013-07-19 20:48:21 +00:00
|
|
|
#!/bin/bash
|
|
|
|
|
2013-09-21 02:13:30 +00:00
|
|
|
set -e
|
|
|
|
|
2013-09-19 15:02:14 +00:00
|
|
|
rootfs=$1
|
2013-07-19 20:48:21 +00:00
|
|
|
|
|
|
|
echo "installing salt"
|
2013-10-26 05:51:13 +00:00
|
|
|
|
2013-07-19 21:32:42 +00:00
|
|
|
chroot $rootfs apt-add-repository -y ppa:saltstack/salt
|
2013-07-19 20:48:21 +00:00
|
|
|
chroot $rootfs apt-get update
|
|
|
|
chroot $rootfs apt-get install salt-minion -y --force-yes
|
|
|
|
|
|
|
|
rm -rf $rootfs/tmp/*
|