<pre>Hi,<br><br>I run something like this, for un-attended automated guest installs.<br>===============================================================================================<br>#!/bin/bash<br><br>domname=yellow<br>
location=<a href="http://10.65.x.x/fedora/linux/releases/11/Fedora/x86_64/os/">http://10.65.x.x/fedora/linux/releases/11/Fedora/x86_64/os/</a><br>vmimage="/var/lib/libvirt/images/$domname.img"<br><br>echo "Creating domain $domname" <br>
echo "Image is here  $vmimage"<br>echo "Location of the OS sources $location"<br><br>virt-install --connect=qemu:///system \<br>    --network=bridge:br0 \<br>    --extra-args="ks=<a href="http://10.65.y.y/fedora-minimal.ks">http://10.65.y.y/fedora-minimal.ks</a> console=tty0 console=ttyS0,9600" \<br>
    --name $domname \<br>    --file=$vmimage \<br>    --file-size=8 \<br>    --ram 1024 \<br>    --accelerate \<br>    --nonsparse \<br>    --location=$location \<br>============================================================================================<br>
now here,<br><br>-- once the install is finished and guest reboots, a console does /not/ show up. Because, as the <br>"console=tty0 console=ttyS0,9600" args from the script are not picked by the anaconda of guest while booting.<br>
<br>-- A console shows up only when I manually edit the guest machine's kernel args and append <br>"console=tty0 console=ttyS0,9600" , /then/ boot the guest - now console shows up happily.<br><br>My question is : shouldn't the anaconda of the guest machine pick up automatically <br>
"console=tty0 console=ttyS0,9600" in the --extra-args mentioned in the virt-install above?<br><br>Is this the expected behaviour? or shall I file a bug.<br><br><br>Regards,<br>Kashyap<br><br> <br><br><br></pre>