Re: Install a new guest remotely?

rek2
2010-01-11T16:37:28Z

> Then use virsh vncdisplay to get the port on the server to
connect

> your VNC viewer. We use an SSH tunnel for the connection to
ensure

> security.

>

> Neil

>

ok so I must to be doing something wrong..
here is my line:
virt-install --connect qemu:///system -n fedora_core12 -r 1048576
--vcpus=2 -f /var/kvm_image
s_local/fedora_core12.qcow2 -s 20 -c ~/Fedora-12-x86_64-netinst.iso
--os-type linux --acce
lerate --vnc --noautoconsole --network=bridge:br0 --hvm

then I get:

Starting install...
monitor socket did not show up.: Connection refused
Domain installation may not have been
successful. If it was, you can restart your domain
by running 'virsh start fedora_core12'; otherwise, please
restart your installation.
ERROR monitor socket did not show up.: Connection refused
Traceback (most recent call last):
File "/usr/bin/virt-install", line 780, in <module>
main()
File "/usr/bin/virt-install", line 678, in main
start_time, guest.start_install)
File "/usr/bin/virt-install", line 733, in do_install
dom = install_func(conscb, progresscb, wait=(not wait))
File "/usr/lib/python2.6/dist-packages/virtinst/Guest.py", line 541,
in start_install
return self._do_install(consolecb, meter, removeOld, wait)
File "/usr/lib/python2.6/dist-packages/virtinst/Guest.py", line 633,
in _do_install
self.domain = self.conn.createLinux(install_xml, 0)
File "/usr/lib/python2.6/dist-packages/libvirt.py", line 1077, in
createLinux
if ret is None:raise libvirtError('virDomainCreateLinux() failed',
conn=self)
libvirtError: monitor socket did not show up.: Connection refused

Thanks.