制作Livecd步骤
1、写ks文件
例如:
lang en_GB.UTF-8
keyboard us
timezone Asia/Shanghai --isUtc
#selinux --enforcing
selinux --disabled
#firewall --enabled --service=cockpit
firewall --disabled
#xconfig --startxonboot
services --enabled=sshd
# Clear the Master Boot Record
zerombr
# Partition clearing information
clearpart --all --initlabel
# Disk partitioning information
part / --size 8192 --fstype ext4
part /boot/efi --fstype="ext4" --size=200
part /boot --fstype="ext4" --size=1024
part swap --fstype="swap" --size=2048
part /run/initramfs/live --fstype="ext4" --grow --size=1
# Root password
auth --useshadow --enablemd5
rootpw --plaintext ROOTPassWorD
repo --name=base --baseurl=http://mirrors.ustc.edu.cn/centos/7.9.2009/os/x86_64/
repo --name=updates --baseurl=http://mirrors.ustc.edu.cn/centos/7/updates/x86_64/
repo --name=extras --baseurl=http://mirrors.ustc.edu.cn/centos/7/extras/x86_64/
repo --name=epel --baseurl=http://mirr

1万+

被折叠的 条评论
为什么被折叠?



