[CentOS-virt] dracut-initqueue timeout with virt-install... but it works (kinda?)

Thu Aug 25 14:57:25 UTC 2016
Matthew Crocker <matthew at corp.crocker.com>

Hello,

 I’m using virt-install to build a guest system with CentOS.    The system boots up, times out with dracut-initqueue timeout and drops me into an emergency shell.   If I exit the shell the install continues and I get a working machine.

Any ideas?


virt-install \
    -n TEST \
    -r 8192 \
    --os-type=linux \
    --disk=/vm-images/test.img,device=disk,bus=virtio,size=100,format=raw \
    --ram=8192 \
    --network bridge:br77 \
    --location /home/CentOS-7-x86_64-Minimal-1511.iso \
    --initrd-inject=/home/kickstart.cfg \
    --extra-args="ks=file:/kickstart.cfg" \
    --debug \
    --accelerate



kickstart.cfg:

text
install
cdrom
lang en_US.UTF-8
keyboard us
network --onboot yes --device eth0 --bootproto dhcp --noipv6
rootpw testing123
firewall --service=ssh
authconfig --enableshadow --passalgo=sha512
selinux --disable
timezone --utc America/New_York
bootloader --location=mbr

zerombr
clearpart --all --initlabel
autopart
reboot 

%packages --nobase
@core
%end




—

Matthew Crocker
President - Crocker Communications, Inc.
Managing Partner - Crocker Telecommunications, LLC
E: matthew at corp.crocker.com
E: matthew at crocker.com