Skip to content

Instantly share code, notes, and snippets.

@binbash12
Created August 14, 2010 05:34
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save binbash12/524022 to your computer and use it in GitHub Desktop.
Save binbash12/524022 to your computer and use it in GitHub Desktop.
<domain type='openvz' id='1017'>
<name>1017</name>
<memory>2048</memory>
<vcpu>3</vcpu>
<os>
<type>exe</type>
<init>/sbin/init</init>
</os>
<clock offset='utc'/>
<on_poweroff>destroy</on_poweroff>
<on_reboot>destroy</on_reboot>
<on_crash>destroy</on_crash>
<devices>
<filesystem type='template'>
<source name='debian-5.0-i386-minimal'/>
<target dir='/'/>
</filesystem>
<interface type='bridge'>
<source bridge='br0'/>
<target dev='veth1017.0'/>
</interface>
</devices>
</domain>
@binbash12
Copy link
Author

This is the best working template that I've been able to get working for an OpenVZ container (still having to use the virsh command instead of virt-install for initial guest creation).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment