linux 自動化安裝系統 -KS文件


# Kickstart file automatically generated by anaconda.

install
harddrive --partition=sdb2 --dir=
lang en_US.UTF-8
keyboard us
text
network --device eth0 --bootproto dhcp
rootpw xxxxx
firewall --disabled
authconfig --enableshadow --enablemd5
selinux --disabled
services --disabled acpid,anacron,apmd,atd,auditd,autofs,avahi-daemon,bluetooth,cups,firstboot,hidd,ip6tables,lvm2-monitor,mcstrans,mdmonitor,microcode_ctl,netfs,nfslock,pcscd,portmap,rawdevices,readahead_early,restorecond,rpcgssd,rpcidmapd,sendmail,setroubleshoot,xfs,xinetd,yum-updatesd
services --enabled cpuspeed,crond,gpm,haldaemon,irqbalance,kudzu,messagebus,network,smartd,sshd,syslog
timezone --utc Asia/Shanghai
bootloader --location=partition --driveorder=sda
# The following is the partition information you requested
# Note that any partitions you deleted are not expressed
# here so unless you clear all partitions first, this is
# not guaranteed to work
clearpart --all --drives=sda
part swap --size=4096
part / --fstype ext3 --size=30000
part /usr/local --fstype ext3 --size=50000
part /home --fstype ext3 --size=1 --grow

%packages
@admin-tools
@base
@core
@development-libs
@development-tools
@editors
@emacs
keyutils
kexec-tools
trousers
fipscheck
device-mapper-multipath
imake
audit


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM