lei yang
2013-Sep-26 16:50 UTC
[libvirt-users] how to boot the lxc container with a default ip
Hi expert my xml is <domain type='lxc'> <name>vm1</name> <memory>500000</memory> <os> <type>exe</type> <init>/bin/sh</init> </os> <vcpu>1</vcpu> <clock offset='utc'/> <on_poweroff>destroy</on_poweroff> <on_reboot>restart</on_reboot> <on_crash>destroy</on_crash> <devices> <emulator>/usr/libexec/libvirt_lxc</emulator> <interface type='network'> <source network='default'/> </interface> <console type='pty' /> </devices> </domain> I want start the guest with a ip=192.168.122.22 how could I modify the xml ? Lei
Apparently Analagous Threads
- Re: libvrtd-1.1.0 crashes when attempting to start some (but not all) LXC containers
- libvirt-1.2.17 I can't define lxc container
- Re: libvrtd-1.1.0 crashes when attempting to start some (but not all) LXC containers
- Re: libvirt-1.2.17 I can't define lxc container
- libvirt v1.0.2 fails to boot LXC container, but v1.0.0 works