kscfg文件制作
要制作一个ks.cfg文件,你可以按照以下步骤进行操作:
-
打开一个文本编辑器,如Notepad++或Vim。
-
创建一个新的文件,将其命名为ks.cfg。
-
写入以下内容:
#platform=x86, AMD64, or Intel EM64T
#version=DEVEL
# Firewall configuration
firewall --disabled
# Install OS instead of upgrade
install
# Use CDROM installation media
cdrom
# Root password
rootpw --plaintext password
# System authorization information
auth --useshadow --passalgo=sha512
# Use graphical install
graphical
# System keyboard
keyboard us
# System language
lang en_US
# SELinux configuration
selinux --disabled
# Installation logging level
logging --level=info
# Reboot after installation
reboot
# System timezone
timezone America/New_York
# Network information
network --bootproto=dhcp --device=eth0
# System bootloader configuration
bootloader --location=mbr
# Clear the Master Boot Record
zerombr
# Partition clearing information
clearpart --all --initlabel
# Disk partitioning information
part /boot --fstype=ext4 --size=500
part pv.01 --size=1 --grow
volgroup vg00 pv.01
logvol / --fstype=ext4 --name=lv00 --vgname=vg00 --size=1024 --grow
logvol swap --name=lv01 --vgname=vg00 --size=1024 --grow --maxsize=2048
# Package installation
%packages
@base
@core
@desktop
@fonts
@gnome-desktop
@input-methods
@internet-browser
@java-platform
@multimedia
@network-file-system-client
@print-client
@remote-desktop-clients
@server-platform
@sound-and-video
@system-tools
@text-internet
@text-support
@virtualization
@virtualization-client
%end
- 保存文件并关闭文本编辑器。
这是一个基本的ks.cfg文件,你可以根据自己的需求进行修改和定制
原文地址: https://www.cveoy.top/t/topic/iCHP 著作权归作者所有。请勿转载和采集!