
Das Folgende ist meine Kickstart-Konfigurationsdatei:
#version=RHEL7
# System authorization information
auth --enableshadow --passalgo=sha512
# Use CDROM installation media
cdrom
# Run the Setup Agent on first boot
firstboot --enable
ignoredisk --only-use=vda
# Keyboard layouts
keyboard --vckeymap=us --xlayouts='us'
# System language
lang en_US.UTF-8
# Root password
rootpw qwerty
# Install Repo
repo --name="CentOS Repo" --baseurl=http://ftp.jaist.ac.jp/pub/Linux/CentOS/7/os/x86_64/
# System timezone
timezone America/New_York --isUtc
# System bootloader configuration
bootloader --location=mbr --boot-drive=vda
autopart --type=lvm
# Partition clearing information
clearpart --none --initlabel
%packages
@core
%end
%post
mkdir -p /etc/sample
mkdir danis
echo "Hello World" >> danis.txt
touch /var/danis.txt
%end
Ich habe mit dem folgenden Befehl ein ISO zur Installation erstellt.
sudo livecd-creator --verbose --config=ks.cfg --fslabel=DanisCentOS --cache=/var/cache/live
Die ISO-Erstellung wird erfolgreich abgeschlossen, aber wenn ich nach der Installation versuche, mich beim Betriebssystem anzumelden, werde ich nach einem Passwort gefragt, das nicht mit dem von mir festgelegten Passwort übereinstimmt. Ich darf mich auch nicht mit irgendeinem Passwort anmelden. Bitte helfen Sie.