怎么样配置Kickstart脚本
- 浏览:
- |
- 更新:
大家都了解,kickstart可用来智能化安装Linux系统,比手工安装速度更快,但为了更好的安装系统,需要对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 Instructors 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
#
###############################################################
热门教程
- 1 萝卜家园win7 32位sp1旗舰版
- 2 最好用的win7家庭版 v2023
- 3 华硕主板win7精简版系统
- 5 原版纯净win7系统 v2022
- 6 云骑士 win7 64位强大专业版
- 7 win7流畅稳定版64位 v2022
- 8 大地ghost win7(32位)旗舰
- 9 深度技术 ghost win7 64位通用
- 10 微软win7纯净版下载官网版
- 11 不带软件的win7纯净版gho