7ef475c7e1
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>
13 lines
294 B
Bash
Executable file
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/*
|