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

转载于:https://www.cnblogs.com/Qing-840/p/5501437.html

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值