Last active
December 24, 2015 23:09
-
-
Save justlooks/6877927 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
hi,i want to add the epel yum address, and install salt-minion client on the new installed system,but the result is | |
the epel added successfully,but the salt client not installed ,why? | |
add snippet in /var/lib/cobbler/kickstarts/sample_end.ks | |
%post | |
...... | |
# add salt config | |
$SNIPPET('salt_config') | |
# End final steps | |
%end | |
add following content in /var/lib/cobbler/snippets/salt-config file | |
rpm -Uvh http://ftp.linux.ncsu.edu/pub/epel/6/i386/epel-release-6-8.noarch.rpm && yum install salt-minion -y --nogpgcheck | |
sed 's/^#master:/& 192.168.142.128/' /tmp/mytest |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment