Skip to content

Instantly share code, notes, and snippets.

@samtingleff
Created December 23, 2009 21:36
Show Gist options
  • Save samtingleff/262825 to your computer and use it in GitHub Desktop.
Save samtingleff/262825 to your computer and use it in GitHub Desktop.
<!-- xen config file for a debian lenny domu guest on an OpenSolaris 2009.06 dom0 host -->
<domain type="xen" id="-1">
<name>some-host</name>
<uuid>6CF16458-3DD9-4949-939E-E5CB5FBA909B</uuid>
<os>
<type arch="i686">linux</type>
<kernel>/rpool/xvm/kernels/some-host/vmlinuz-2.6.26-2-xen-686</kernel>
<initrd>/rpool/xvm/kernels/some-host/initrd.img-2.6.26-2-xen-686</initrd>
<cmdline>root=/dev/xvda1 ro console=tty0</cmdline>
</os>
<memory>262144</memory>
<vcpu>1</vcpu>
<on_poweroff>destroy</on_poweroff>
<on_reboot>restart</on_reboot>
<on_crash>destroy</on_crash>
<devices>
<interface type="bridge">
<mac address="00:16:3e:23:fd:fa"/>
</interface>
<disk type="block" device="disk">
<driver name="phy"/>
<source dev="/dev/zvol/dsk/rpool/xvm/some-host"/>
<target dev="xvda"/>
</disk>
<console tty="/dev/pts/9"/>
</devices>
</domain>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment