Kickstart issue - "unknown command: <!DOCTYPE"
I'm building a kickstart server. I've got a test system to the point where it's PXE booting from the kickstart server, and got the install to the point where the manual installation screen comes up ready to do an install.
However, when I try to add a kickstart file I'm getting the following error:
"The following problem occurred on line 1 of the kickstart file:" "Unknown command: <!DOCTYPE".
I don't have any such line in the kickstart file - this is the contents of ks.cfg:
version=DEVEL
System authorization information
auth --enableshadow --passalgo=sha512
Use network installation
url --url="http://10.0.0.100/rhel7-install"
repo --name="Server-HighAvailability" --baseurl=http://10.0.0.100/rhel7-install/addons/HighAvailability
repo --name="Server-ResilientStorage" --baseurl=http://10.0.0.100/rhel7-install/addons/ResilientStorage
Use graphical install
graphical
Run the Setup Agent on first boot
firstboot --enable
ignoredisk --only-use=sda
Keyboard layouts
keyboard --vckeymap=us --xlayouts='us'
System language
lang en_US.UTF-8
Network information
network --bootproto=dhcp --device=enp0s25 --ipv6=auto --activate
network --hostname=localhost.localdomain
Root password
rootpw --iscrypted $6$.81heVPe6g1IGJEZ$3UkgnUBs6cPAWeEbhK.342zPq5KsLGaV5Z45wvddJbZgz1xUfhvEKIZmthQL158hyYZpAm.LPFe6InCRhRXAx/
System services
services --enabled="chronyd"
System timezone
timezone America/New_York --isUtc
System bootloader configuration
bootloader --append=" crashkernel=auto" --location=mbr --boot-drive=sda
Partition clearing information
clearpart --all --initlabel --drives=sda
Disk partitioning information
part pv.545 --fstype="lvmpv" --ondisk=sda --size=259080
part /boot --fstype="xfs" --ondisk=sda --size=1024
volgroup rhel_kickstart --pesize=4096 pv.545
logvol /var/log/audit --fstype="xfs" --size=2048 --name=var_log_audit --vgname=rhel_kickstart
logvol /var/log --fstype="xfs" --size=5120 --name=var_log --vgname=rhel_kickstart
logvol /tmp --fstype="xfs" --size=3072 --name=tmp --vgname=rhel_kickstart
logvol swap --fstype="swap" --size=8192 --name=swap --vgname=rhel_kickstart
logvol / --fstype="xfs" --size=30720 --name=root --vgname=rhel_kickstart
logvol /var --fstype="xfs" --size=5120 --name=var --vgname=rhel_kickstart
logvol /opt/splunk --fstype="xfs" --size=204800 --name=opt_splunk --vgname=rhel_kickstart
%packages
@^web-server-environment
@base
@core
@web-server
chrony
kexec-tools
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
