Red Hat Kickstart Post Script - Linux

By Queena
at 2011-02-17T11:17
at 2011-02-17T11:17
Table of Contents
hello there!
I just could NOT get my kickstart post script work :-(
what's wrong ??
here are the code:
%post --nochroot --erroronfail --log=/root/kickstart-post.log
#!/bin/bash
/bin/touch /root/kickstart-post.log
/sbin/chkconfig bluetooth off
/sbin/chkconfig yum-updatesd off
/sbin/service yum-updatesd stop
/usr/bin/wget http://my.server/install.sh
/bin/mv install.sh /root/install_yum.sh
/bin/chmod 755 /root/install_yum.sh
/bin/bash /root/install_yum.sh
/usr/bin/yum -y install puppet
--
I just could NOT get my kickstart post script work :-(
what's wrong ??
here are the code:
%post --nochroot --erroronfail --log=/root/kickstart-post.log
#!/bin/bash
/bin/touch /root/kickstart-post.log
/sbin/chkconfig bluetooth off
/sbin/chkconfig yum-updatesd off
/sbin/service yum-updatesd stop
/usr/bin/wget http://my.server/install.sh
/bin/mv install.sh /root/install_yum.sh
/bin/chmod 755 /root/install_yum.sh
/bin/bash /root/install_yum.sh
/usr/bin/yum -y install puppet
--
Tags:
Linux
All Comments

By Emma
at 2011-02-22T01:20
at 2011-02-22T01:20
Related Posts
工作站軟體環境設定

By Carolina Franco
at 2011-02-16T16:52
at 2011-02-16T16:52
apt-get -f install無法更新成功

By Kama
at 2011-02-16T15:01
at 2011-02-16T15:01
請教一下 iptables DNAT 的問題

By Oliver
at 2011-02-16T14:22
at 2011-02-16T14:22
請教一下 iptables DNAT 的問題

By Skylar Davis
at 2011-02-16T11:54
at 2011-02-16T11:54
/分割區變更檔案系統

By Agnes
at 2011-02-16T11:52
at 2011-02-16T11:52