On Wed, Dec 15, 2010 at 12:06:27PM -0000, tony(a)specialistdevelopment.com wrote:
Hi,
I used to use KVM for virtualisation and have now moved back to it, but I
have a problem.
When i used to install the guest machine with virt-install i used to use
the -x "extra args" part to set the console for the install and guest, but
it no longer works.
Here is the command i use:
virt-install -n server01 -r 512 --os-variant=virtio26 -c /isos/c5u5.iso
--nographics --noautoconsole -f /storage/vm/server01 -s 5 bus=virtio -w
bridge:br0 -x "console=ttyS0
ks=http://www.domain.com/c5u5.cfg"
As you can see im setting the console to ttyS0, but then when i go to
connect to the console with:
You are doing a CDROM based install. The kernel args for that are set
in the syslinux config file inside the ISO image and can't be overriden
using -x. The -x arg only works when doing a kernel+initrd install
(ie --location instead of --cdrom/-c)
Daniel