I am using a kick starter file to install a Centos 7 VM and the progress has nearly stalled without displaying any messages in the terminal. My kickstarter file is placed in /tmp/ks.cfg
having the following contents:
install
lang en_GB.UTF-8
keyboard us
timezone Australia/Melbourne
auth --useshadow --enablemd5
selinux --disabled
firewall --disabled
eula --agreed
ignoredisk --only-use=sda
reboot
bootloader --location=mbr
zerombr
clearpart --all --initlabel
part swap --asprimary --fstype="swap" --size=1024
part /boot --fstype xfs --size=200
part pv.01 --size=1 --grow
volgroup rootvg01 pv.01
logvol / --fstype xfs --name=lv01 --vgname=rootvg01 --size=1 --grow
rootpw --iscrypted password
%packages --nobase --ignoremissing
@core
%end
The command that I'm using is as follows:
virt-install --name=centOS --ram=1024 --vcpus=1 --os-variant=rhel7 --disk
path=/tmp/centOS-VM.img,size=4 --location=/tmp/iso-images-VM/CentOS-7-
x86_64-Minimal-1708.iso --initrd-inject=/tmp/ks.cfg --extra-args
"ks=file:/tmp/ks.cfg console=ttyS0"
Soon after issuing the above, I get this:
WARNING Graphics requested but DISPLAY is not set. Not running virt-viewer.
WARNING No console to launch for the guest, defaulting to --wait -1
Starting install...
Retrieving file .treeinfo... | 354 B
00:00:00
Retrieving file vmlinuz... | 5.6 MB
00:00:00
Retrieving file initrd.img...| 46 MB
00:00:00
Domain installation still in progress. Waiting for installation to complete.
Beyond this nothing happens. Any idea what could be happening here?