On the guest's first boot there is no login prompt when using virsh
console <guest host>. It displays the boot process but no login prompt
comes up.
FYI the --no-gfx switch does not work in this version of koan
(1.4.1-1.el5). It must be --nogfx. If you look hat koan -h it even
defines that switch as --nogfx. However, the manpage has --no-gfx.
For me the koan log is located in /var/log/koan. What exactly would I
be expecting in there if the --nogfx/no-gfx is working as it should? I
do not see --nographics or --no-gfx or the like in there, though.
If this is a bug in the virtinst can you point me to the koan code
that calls the related function so I can submit a bug with redhat?
On Mon, Mar 2, 2009 at 12:35 PM, Michael DeHaan <mdehaan(a)redhat.com> wrote:
Nicholas Schuetz wrote:
> Hello,
>
> I am using cobbler and koan to boot some RHEL 5.3 Xen pv guests on a
> RHEL 5.3 host. The koan command I use to do so is:
>
> koan --nogfx --server=<cobbler-server> --virt --system=<guest hostname>
>
> The problem i'm seeing is ultimately the virtual guest ends up booting
> w/o a console. The reason why is the guest inittab does not get
> updated with:
>
> co:2345:respawn:/sbin/agetty xvc0 9600 vt100-nav
>
> I would think the --nogfx switch would tell virt-install or the like
> that this is a no graphics installation and it needs a console.
>
Yes, the --no-gfx flag prevents it from adding VNC support. I take it
you mean that when using that flag you cannot connect to the guest with
virsh during the install (or is it just after?)
Either way, sems like a virtinst bug -- though it's the first I've heard
of it.
See what you have in koan.log (either /var/log/koan or ~/.koan -- can't
remember where ATM)... that contains the libvirt XML used to create the
guest.
> Does anyone else have this issue. Is this a bug or am I doing
> something wrong here?
>
> As a workaround I've added a line in the kickstart %post section to
> add this to the inittab:
>
> echo "co:2345:respawn:/sbin/agetty xvc0 9600 vt100-nav" >>
/etc/inittab
>
>
> I'm using the following packages:
>
> koan-1.4.1-1.el5
> python-virtinst-0.300.2-12.el5
> libvirt-python-0.3.3-14.el5
> virt-manager-0.5.3-10.el5
> libvirt-0.3.3-14.el5
> xen-libs-3.0.3-80.el5
> xen-3.0.3-80.el5
> kernel-xen-2.6.18-128.1.1.el5
>
> cobbler-1.4.1-1.el5
>
>
> Regards,
>
> Nick
> _______________________________________________
> cobbler mailing list
> cobbler(a)lists.fedorahosted.org
>
https://fedorahosted.org/mailman/listinfo/cobbler
>
_______________________________________________
cobbler mailing list
cobbler(a)lists.fedorahosted.org
https://fedorahosted.org/mailman/listinfo/cobbler