Advertisement
jlkinsel

virt-install container def

Sep 4th, 2013
49
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.09 KB | None | 0 0
  1. <!--
  2. WARNING: THIS IS AN AUTO-GENERATED FILE. CHANGES TO IT ARE LIKELY TO BE
  3. OVERWRITTEN AND LOST. Changes to this xml configuration should be made using:
  4. virsh edit test
  5. or other application using the libvirt API.
  6. -->
  7.  
  8. <domain type='lxc'>
  9. <name>test</name>
  10. <uuid>f6be78c1-4fae-3fcc-4c35-bcbaa4916ef6</uuid>
  11. <memory unit='KiB'>524288</memory>
  12. <currentMemory unit='KiB'>524288</currentMemory>
  13. <vcpu placement='static'>1</vcpu>
  14. <os>
  15. <type arch='x86_64'>exe</type>
  16. <init>/sbin/init</init>
  17. </os>
  18. <clock offset='utc'/>
  19. <on_poweroff>destroy</on_poweroff>
  20. <on_reboot>restart</on_reboot>
  21. <on_crash>restart</on_crash>
  22. <devices>
  23. <emulator>/usr/libexec/libvirt_lxc</emulator>
  24. <filesystem type='mount' accessmode='passthrough'>
  25. <source dir='/var/lib/libvirt/lxc/centos-6-x86_64'/>
  26. <target dir='/'/>
  27. </filesystem>
  28. <interface type='network'>
  29. <mac address='00:16:3e:67:57:58'/>
  30. <source network='default'/>
  31. </interface>
  32. <console type='pty'>
  33. <target type='lxc' port='0'/>
  34. </console>
  35. </devices>
  36. </domain>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement