熱搜:win11繞過硬件限制安裝 一鍵重裝Win10系統(tǒng) 最干凈的u盤啟動盤 真正純凈版的win7系統(tǒng)
時間:2015-02-07 17:03:00 作者:qipeng 來源:系統(tǒng)之家 1. 掃描二維碼隨時看資訊 2. 請使用手機瀏覽器訪問: https://m.xitongzhijia.net/xtjc/20150207/37594.html 手機查看 評論 反饋
我們都知道,kickstart可用來自動化安裝Linux系統(tǒng),比手動安裝速度更快,但是為了更好的安裝系統(tǒng),需要對kickstart腳本進行配置,下面小編就給大家介紹下配置kickstart腳本的方法,一起來學習下吧。
配置kickstart腳本的方法
###############################################################
#
# Sample Kickstart Configuration File
#
###############################################################
###############################################################
#
# point to a local installation server, or use “cdrom”
#
###############################################################
url --url https://rha-server/pub/rhel5/
#cdrom
rootpw RedHat
bootloader --location=mbr --password=redhat
###############################################################
#
# partitioning
#
###############################################################
zerombr yes
clearpart --all --initlabel
part /boot --fstype ext3 --size 128
part / --fstype ext3 --size 1 --grow
part swap --recommended
###############################################################
#
# network configuration
# - the following is for the “recommended solution” outlined
# in the Red Hat Academy Instructor‘s Guide
#
###############################################################
network --bootproto=dhcp --device=eth0
firewall --disabled
#network --bootproto=static --ip=192.168.0.254 --netmask=255.255.255.0
--device=eth0
#firewall --medium --http --port=https:tcp
###############################################################
#
# environment
#
###############################################################
發(fā)表評論
共0條
評論就這些咯,讓大家也知道你的獨特見解
立即評論以上留言僅代表用戶個人觀點,不代表系統(tǒng)之家立場