Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $ cat .bash_aliases
- alias kvirsh='virsh -c qemu:///system'
- alias lvirsh='virsh -c lxc:///'
- $ 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='lxc' port='0'/>
- </console>
- </devices>
- </domain>
- $ lvirsh start hw
- error: Failed to start domain hw
- error: internal error guest failed to start: 2011-12-08 14:28:57.741: 15081: info : libvirt version: 0.9.7
- 2011-12-08 14:28:57.741: 15081: error : lxcControllerRun:1158 : unsupported configuration: Expected exactly one TTY fd
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement