Guest User

Untitled

a guest
Apr 23rd, 2018
87
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.89 KB | None | 0 0
  1. $ lvirsh --version
  2. 0.9.2
  3.  
  4. $ lvirsh dumpxml hw
  5. <domain type='lxc'>
  6. <name>hw</name>
  7. <uuid>38320e75-1ba0-d85a-6138-532a3a66f13d</uuid>
  8. <memory>524288</memory>
  9. <currentMemory>524288</currentMemory>
  10. <vcpu>1</vcpu>
  11. <os>
  12. <type arch='x86_64'>exe</type>
  13. <init>/bin/bash</init>
  14. </os>
  15. <clock offset='utc'/>
  16. <on_poweroff>destroy</on_poweroff>
  17. <on_reboot>restart</on_reboot>
  18. <on_crash>destroy</on_crash>
  19. <devices>
  20. <emulator>/usr/lib/libvirt/libvirt_lxc</emulator>
  21. <console type='pty'>
  22. <target type='serial' port='0'/>
  23. </console>
  24. </devices>
  25. </domain>
  26.  
  27. $ lvirsh start hw
  28. Domain hw started
  29.  
  30. $ pstree -pa
  31. init,1
  32. |
  33. ...
  34. |-libvirt_lxc,15361 --name hw --console 17 --background
  35. | `-bash,15362
  36. ...
  37.  
  38. $ sudo getpcaps 15362
  39. Capabilities for `15362': =ep cap_sys_module,cap_sys_boot,cap_sys_time,cap_audit_control,cap_mac_admin-ep
Add Comment
Please, Sign In to add comment