<br><br><div class="gmail_quote">On Thu, Oct 8, 2009 at 1:01 PM, Chris Lalancette <span dir="ltr">&lt;<a href="mailto:clalance@redhat.com">clalance@redhat.com</a>&gt;</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>
&gt; Hi,<br>
&gt;<br>
&gt; I run something like this, for un-attended automated guest installs.<br>
&gt; ===============================================================================================<br>
&gt; #!/bin/bash<br>
&gt;<br>
&gt; domname=yellow<br>
&gt;<br>
&gt; 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>
&gt; vmimage=&quot;/var/lib/libvirt/images/$domname.img&quot;<br>
&gt;<br>
&gt; echo &quot;Creating domain $domname&quot;<br>
&gt;<br>
&gt; echo &quot;Image is here  $vmimage&quot;<br>
&gt; echo &quot;Location of the OS sources $location&quot;<br>
&gt;<br>
&gt; virt-install --connect=qemu:///system \<br>
&gt;     --network=bridge:br0 \<br>
&gt;     --extra-args=&quot;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&quot; \<br>
&gt;<br>
&gt;     --name $domname \<br>
&gt;     --file=$vmimage \<br>
&gt;     --file-size=8 \<br>
&gt;     --ram 1024 \<br>
&gt;     --accelerate \<br>
&gt;     --nonsparse \<br>
&gt;     --location=$location \<br>
&gt; ============================================================================================<br>
&gt;<br>
&gt; now here,<br>
&gt;<br>
&gt; -- once the install is finished and guest reboots, a console does /not/ show up. Because, as the<br>
&gt; &quot;console=tty0 console=ttyS0,9600&quot; args from the script are not picked by the anaconda of guest while booting.<br>
&gt;<br>
&gt;<br>
&gt; -- A console shows up only when I manually edit the guest machine&#39;s kernel args and append<br>
&gt; &quot;console=tty0 console=ttyS0,9600&quot; , /then/ boot the guest - now console shows up happily.<br>
&gt;<br>
&gt; My question is : shouldn&#39;t the anaconda of the guest machine pick up automatically<br>
&gt;<br>
&gt; &quot;console=tty0 console=ttyS0,9600&quot; in the --extra-args mentioned in the virt-install above?<br>
&gt;<br>
&gt; 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=&quot;console=tty0 console=ttyS0,9600&quot;<br>
<br>
(this certainly works, I use it all the time)<br></blockquote><div><br>right,  If I edit the kickstart file, it&#39;ll pick. thanks for confirming. (so I guess you&#39;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>