[Libvir] [RFC] Add Container support to libvirt

Dave Leskovec dlesko at linux.vnet.ibm.com
Wed Jan 16 20:50:16 UTC 2008


Ok, I've made a couple more recommended changes:
* Changed application to init
* Restored the memory tag

<domain type='linuxcontainer'>
   <name>Container123</name>
   <uuid>8dfd44b31e76d8d335150a2d98211ea0</uuid>
   <container>
       <filesystem type="mount">
          <source dir="/home/user/lxc_files/etc/"/>
          <target dir="/etc/"/>
       </filesystem>
       <filesystem type="mount">
          <source dir="/home/user/lxc_files/var/"/>
          <target dir="/var/"/>
       </filesystem>
       <init>/usr/sbin/container_init</init>
       <network>
           <ipaddress>192.168.1.110</ipaddress>
           <hostname>browndog</hostname>
           <gateway>192.168.1.1</gateway>
           <nameserver>192.168.1.1</nameserver>
           <netmask>255.255.255.0</netmask>
       </network>
   </container>
   <memory>65536</memory>
   <devices>
       <console tty='/dev/pts/4'/>
   </devices>
</domain>

Any other comments or questions?

-- 
Best Regards,
Dave Leskovec
IBM Linux Technology Center
Open Virtualization




More information about the libvir-list mailing list