12 lines
221 B
Bash
Executable file
12 lines
221 B
Bash
Executable file
#!/bin/bash
|
|
|
|
set -e
|
|
|
|
rootfs=$1
|
|
|
|
echo "installing salt"
|
|
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/*
|