<br><br><div class="gmail_quote">On Thu, Oct 8, 2009 at 1:01 PM, Chris Lalancette <span dir="ltr"><<a href="mailto:clalance@redhat.com">clalance@redhat.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div><div></div><div class="h5">Kashyap Chamarthy wrote:<br>
> Hi,<br>
><br>
> I run something like this, for un-attended automated guest installs.<br>
> ===============================================================================================<br>
> #!/bin/bash<br>
><br>
> domname=yellow<br>
><br>
> location=<a href="http://10.65.x.x/fedora/linux/releases/11/Fedora/x86_64/os/" target="_blank">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>
><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" target="_blank">http://10.65.y.y/fedora-minimal.ks</a> console=tty0 console=ttyS0,9600" \<br>
><br>
>     --name $domname \<br>
>     --file=$vmimage \<br>
>     --file-size=8 \<br>
>     --ram 1024 \<br>
>     --accelerate \<br>
>     --nonsparse \<br>
>     --location=$location \<br>
> ============================================================================================<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>
><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>
><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>
</div></div>Hm, interesting.  I think anaconda used to pick those up.  It sounds like a<br>
problem in anaconda; I would file a bug about it.  For a workaround, you can<br>
edit your kickstart with something like:<br>
<br>
bootloader --location=mbr --append="console=tty0 console=ttyS0,9600"<br>
<br>
(this certainly works, I use it all the time)<br></blockquote><div><br>right,  If I edit the kickstart file, it'll pick. thanks for confirming. (so I guess you're filing the bug. Ifyou want me to I can do that.)<br>
<br>-- Kashyap Chamarthy<br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>
--<br>
<font color="#888888">Chris Lalancette<br>
</font></blockquote></div><br>