ks=cdrom:/add/nat-ks.cfg,自動安裝檔格式參考
。設定 kickstart 為安裝。
[root@dywH add]# vim nat-ks.cfg install
[root@dywH add]# vim nat-ks.cfg lang en_US.UTF-8 keyboard us timezone --utc Asia/Taipei
%post 安裝後處理設計互動式設定,請參考
。
[root@dywH add]# vim nat-ks.cfg network --device eth0 --bootproto=static --ip=192.168.1.254 --netmask=255.255.255.0 network --device eth1 --bootproto=query
[root@dywH add]# vim nat-ks.cfg #rootpw 123123
[root@dywH add]# vim nat-ks.cfg services --disabled="kdump" services --enabled="dhcpd,named,ntpd"
[root@dywH add]# vim nat-ks.cfg firewall --service=ssh authconfig --enableshadow --passalgo=sha512 --enablefingerprint selinux --enforcing
%pre 階段,偵測硬碟後才能確定,請參考
。
[root@dywH add]# vim nat-ks.cfg %include /tmp/partitioning
[root@dywH add]# vim nat-ks.cfg #reboot