I would like to capture the output of the installer to a file.
I use virt-install to install an appliance on my server. According to the man page:
--nographics No graphical console will be allocated for the guest. Fully virtualized guests will need to have a text console configured on the first serial port in the guest (this can be done via the --extra-args option)
I tried this command:
virt-install -n v1092 -r 512 --vcpus=1 --check-cpu --os-type=linux --os-variant=ubuntuhardy -v --accelerate -c /tmp/turnkey-lamp-2009.10-hardy-x86.iso -f /var/lib/libvirt/images/v1092.img -s 15 -b br0 --nographics -x "console ttyS0"
I get this output:
Starting install... Creating domain... Connected to domain v1092 Escape character is ^]
And then it just sits there doing nothing.
Any ideas on how I can do this?