[virt-tools-list] virt-install console keys
P.A.M. van Dam (Pascal)
pascal at jarmine01.kleefdraakjes.nest
Thu Mar 24 20:56:31 UTC 2016
On Thu, Mar 24, 2016 at 03:21:51PM -0400, Cole Robinson wrote:
> On 03/24/2016 03:20 PM, Cole Robinson wrote:
> > On 03/24/2016 03:17 PM, Richard W.M. Jones wrote:
> >> I think this may be a question about virsh or libvirt, but anyway ..
> >> When I do a command like:
> >> virt-install \
> >> --name=$tmpname \
> >> --ram=1024 \
> >> --os-type=linux --os-variant=$osvariant \
> >> --arch ppc64le --machine pseries \
> >> --initrd-inject=$(pwd)/preseed.cfg \
> >> --extra-args="auto console=tty0 console=hvc0" \
> >> --disk=$(pwd)/$output,size=4,format=raw \
> >> --serial pty \
> >> --location=http://ports.ubuntu.com/ubuntu-ports/dists/$dist/main/installer-ppc64el \
> >> --nographics \
> >> --noreboot
> >> It later fails with the instructions:
> >> Additional details may be available in /var/log/syslog or on virtual
> >> console 4.
> >> which is great, but I can find no way to get to "virtual console 4",
> >> and that's a problem because there's no further way to diagnose this
> >> bug.
> Also that message is not coming from anywhere in the virt stack that I know
> of, probably from ubuntu.
Good evening all,
This is clearly coming from the ubuntu installer. As the console is invoked, the issue is to get the F4 keypress going to the console and not
to the window manager. One way to debug is, is to remove the --nographics and use the Graphical console where you can select the keypress for VT-4 from the drop down menu.
If someone knows a way to get a keypress for F4 (VT-4) to the (serial) text console, I'd like to know that too.
Pascal van Dam
> - Cole
> virt-tools-list mailing list
> virt-tools-list at redhat.com
More information about the virt-tools-list