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

Thu Aug 25 16:38:34 UTC 2016
-=X.L.O.R.D=- <xlord.sl at gmail.com>

Dear Matthew,
Quick check your VM guest parameter if they have below;
1) is "--vcpu=x"? parameter set?
2) what are you getting from debug log?
PS: Sample of virt-install $OS $Net $KS $Disk $Src $Gr $Cpu $Ram --name=$Name

Source: https://wiki.centos.org/HowTos/KVM

Xlord


-----Original Message-----
From: centos-virt-bounces at centos.org [mailto:centos-virt-bounces at centos.org] On Behalf Of Matthew Crocker
Sent: Thursday, August 25, 2016 10:57 PM
To: centos-virt at centos.org
Subject: [CentOS-virt] dracut-initqueue timeout with virt-install... but it works (kinda?)


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



_______________________________________________
CentOS-virt mailing list
CentOS-virt at centos.org
https://lists.centos.org/mailman/listinfo/centos-virt