Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $ lvirsh --version
- 0.9.2
- $ lvirsh dumpxml hw
- <domain type='lxc'>
- <name>hw</name>
- <uuid>38320e75-1ba0-d85a-6138-532a3a66f13d</uuid>
- <memory>524288</memory>
- <currentMemory>524288</currentMemory>
- <vcpu>1</vcpu>
- <os>
- <type arch='x86_64'>exe</type>
- <init>/bin/bash</init>
- </os>
- <clock offset='utc'/>
- <on_poweroff>destroy</on_poweroff>
- <on_reboot>restart</on_reboot>
- <on_crash>destroy</on_crash>
- <devices>
- <emulator>/usr/lib/libvirt/libvirt_lxc</emulator>
- <console type='pty'>
- <target type='serial' port='0'/>
- </console>
- </devices>
- </domain>
- $ lvirsh start hw
- Domain hw started
- $ pstree -pa
- init,1
- |
- ...
- |-libvirt_lxc,15361 --name hw --console 17 --background
- | `-bash,15362
- ...
- $ sudo getpcaps 15362
- 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