Red Hat Kickstart Post Script - Linux

Queena avatar
By Queena
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

--
Tags: Linux

All Comments

Emma avatar
By Emma
at 2011-02-22T01:20
no one knows ? =..=

工作站軟體環境設定

Carolina Franco avatar
By Carolina Franco
at 2011-02-16T16:52
因為每次開啟都需重打下列指令 source ISE.env tcsh setenv DISPLAY ${REMOTEHOST}:0.0 相當麻煩 我嘗試將上列指令寫在.cshrc中 再打 source .cshrc 卻出現 : 沒有此一檔案或目錄. 請問該如何解決這問題? 謝謝 - ...

apt-get -f install無法更新成功

Kama avatar
By Kama
at 2011-02-16T15:01
因為想安裝git缺了某些套件, 所以我執行apt-get -f install 結果不知道為甚麼跑出下面的訊息導致無法更新 有人知道為甚麼會這樣嗎? 謝謝 Err http://tw.archive.ubuntu.com intrepid/main libgcrypt11 1.4.1-1ubuntu1 ...

請教一下 iptables DNAT 的問題

Oliver avatar
By Oliver
at 2011-02-16T14:22
route 的資訊如下 [rootatdev ~]# route -n Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface 168.95.98.254 ...

請教一下 iptables DNAT 的問題

Skylar Davis avatar
By Skylar Davis
at 2011-02-16T11:54
目前我的主機環境如下 Internet (Hinet) --andgt; 主機 eth1 ppp0 -andgt; 主機 eth0 --andgt; NAT 環境 (固定ip: 192.168.111.1) (192.168.0.0 的網域) 主機上有兩張網卡 eth1 是 ...

/分割區變更檔案系統

Agnes avatar
By Agnes
at 2011-02-16T11:52
: → kdjf:先開好機,再chroot進去可以用嗎? 02/13 08:39 : → Adama:不知道了,現在正在流淚重灌中XD 02/13 18:57 : 推 pgychen:您用 root 去 ...