저는 DVD ISO를 사용하여 Centos 7을 VMware Workstation에 설치했습니다. /root/anaconda-ks.cfg를 열면 디스크 파티션이나 LVM 정보에 대한 참조를 찾을 수 없습니다. 설치 프로그램이 기본적으로 파티션을 구성하도록 허용했기 때문입니까? 이것은 내 파일입니다:
[root@centos4 ~]# cat anaconda-ks.cfg
#version=DEVEL
# System authorization information
auth --enableshadow --passalgo=sha512
# Use CDROM installation media
cdrom
# Use graphical install
graphical
# Run the Setup Agent on first boot
firstboot --enable
ignoredisk --only-use=sda
# Keyboard layouts
keyboard --vckeymap=fr --xlayouts='fr'
# System language
lang en_US.UTF-8
# Network information
network --bootproto=dhcp --device=ens33 --onboot=off --ipv6=auto --no-activate
network --hostname=localhost.localdomain
# Root password
rootpw --iscrypted $6$30AQwuPFu1OFrAsm$NT7km5c8YpgRuzMTP9c5HbZugcVspRVmA./cVnYk9AyIzNP2ShLPCCu7oYNb5IUsywy4qzXwmAXyOIWlECeiP/
# System services
services --disabled="chronyd"
# System timezone
timezone Europe/Paris --isUtc --nontp
user --name=tim --password=$6$gSo4blRqBVPGiG6d$4twAb4QVArDYDnitVvhqRt/FRdsI5yqFCWm10O4DRXxccL60Fm.BowXcibAugS9tnSzpLbfVgQgU8fWxPwCOk0 --iscrypted --gecos="Tim"
# X Window System configuration information
xconfig --startxonboot
# System bootloader configuration
bootloader --append=" crashkernel=auto" --location=mbr --boot-drive=sda
autopart --type=lvm
# Partition clearing information
clearpart --none --initlabel
%packages
@^gnome-desktop-environment
@base
@core
@desktop-debugging
@dial-up
@directory-client
@fonts
@gnome-apps
@gnome-desktop
@guest-agents
@guest-desktop-agents
@input-methods
@internet-browser
@java-platform
@multimedia
@network-file-system-client
@networkmanager-submodules
@print-client
@x11
kexec-tools
%end
%addon com_redhat_kdump --enable --reserve-mb='auto'
%end
%anaconda
pwpolicy root --minlen=6 --minquality=1 --notstrict --nochanges --notempty
pwpolicy user --minlen=6 --minquality=1 --notstrict --nochanges --emptyok
pwpolicy luks --minlen=6 --minquality=1 --notstrict --nochanges --notempty
%end