Skip to content

Instantly share code, notes, and snippets.

@novel
Created August 6, 2017 09:47
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 novel/71aa823d02df45cf9c720d521b33d38b to your computer and use it in GitHub Desktop.
Save novel/71aa823d02df45cf9c720d521b33d38b to your computer and use it in GitHub Desktop.
<domain type='bhyve'>
<name>openbsd61</name>
<memory unit='G'>4</memory>
<vcpu>2</vcpu>
<os>
<type>hvm</type>
<boot dev='hd'/>
<loader readonly="yes" type="pflash">/usr/local/share/uefi-firmware/BHYVE_UEFI.fd</loader>
</os>
<features>
<apic/>
<acpi/>
</features>
<clock offset='utc'/>
<on_poweroff>destroy</on_poweroff>
<on_reboot>restart</on_reboot>
<on_crash>destroy</on_crash>
<devices>
<disk type='file' device='disk'>
<driver name='file' type='raw'/>
<source file='/home/novel/iso/install61.fs'/>
<target dev='hda' bus='sata'/>
</disk>
<disk type='file' device='disk'>
<source file='/home/novel/img/openbsd61.raw'/>
<target dev='hdc' bus='sata'/>
</disk>
<interface type='bridge'>
<model type='virtio'/>
<source bridge="virbr0"/>
</interface>
<serial type="nmdm">
<source master="/dev/nmdm0A" slave="/dev/nmdm0B"/>
</serial>
<graphics type='vnc' autoport='yes'>
<listen type='address' address='127.0.0.1'/>
</graphics>
<video>
<driver vgaconf='off'/>
<model type='gop' heads='1' primary='yes'/>
</video>
<controller type='usb' model='nec-xhci'/>
<input type='tablet' bus='usb'/>
</devices>
</domain>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment