12 lines
250 B
Text
12 lines
250 B
Text
|
#!/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/*
|