Command I'm running is:
Code: Select all
virt-install --network bridge:br0 --ram=1024 --vcpus=1 --disk path=/var/lib/libvirt/images/vm8.img,size=10 --graphics none --initrd-inject=/var/www/html/ks.cfg --extra-args="console=tty0 console=ttyS0,115200 ks=file:/ks.cfg" --location=/iso/CentOS-7.0-1406-x86_64-DVD/CentOS-7.0-1406-x86_64-DVD.iso --name vm8
Code: Select all
version=RHEL7
reboot
eula --agreed
cdrom
text
firstboot --disable
ignoredisk --only-use=vda
keyboard --vckeymap=us --xlayouts='us'
lang en_US.UTF-8
network --bootproto=dhcp --device=eth0 --onboot=off --ipv6=auto
network --bootproto=dhcp --hostname=localhost.localdomain
rootpw --plaintext root
skipx
timezone America/Los_Angeles --isUtc
bootloader --location=mbr --boot-drive=vda
autopart --type=lvm
clearpart --all --initlabel --drives=vda
%packages
@base
@core
%end
Code: Select all
OK ] Reached target System Initialization.
Starting Show Plymouth Boot Screen...
[ OK ] Started Show Plymouth Boot Screen.
[ OK ] Reached target Paths.
[ OK ] Reached target Basic System.
dracut-initqueue[556]: mount: /dev/sr0 is write-protected, mounting read-only
[ 66.510259] loop: module loaded
[ 66.547253] bio: create slab <bio-1> at 1
[ 66.556828] bio: create slab <bio-2> at 2
dracut-initqueue[556]: Warning: Could not boot.
[ OK ] Started Show Plymouth Boot Screen.
[ OK ] Reached target Paths.
[ OK ] Reached target Basic System.
dracut-initqueue[556]: mount: /dev/sr0 is write-protected, mounting read-only
dracut-initqueue[556]: Warning: Could not boot.
Starting Dracut Emergency Shell...
Generating "/run/initramfs/rdsosreport.txt"
Entering emergency mode. Exit the shell to continue.
Type "journalctl" to view system logs.
You might want to save "/run/initramfs/rdsosreport.txt" to a USB stick or /boot
after mounting them and attach it to a bug report.
dracut:/#