grab latest release ISO image
rel=7.3 rl=73 mirror=... mkdir /data/ISO-IMAGES/obsd/ cd /data/ISO-IMAGES/obsd/ wget $mirror/$rel/amd64/install$rl.iso
guest=ocarp1
mkdir -p /data/guests/$guest/ cd /data/guests/$guest/ dd if=/dev/zero of=$guest.raw bs=1G count=0 seek=8
dnc-new-resource-template.bash NODE1 NODE2 SLOT $guest ls -lF /dev/drbd/by-res/$guest
mkdir -p /data/guests/$guest/ cd /data/guests/$guest/ vi $guest vnc = 1 vnclisten = "0.0.0.0" vncpasswd = "PASSWORD" boot = "cd" #nographics = 1 #serial = "pty" type = "hvm" on_crash = "preserve" name = "$guest" memory = 1024 vcups = 4 disk = [ 'tap:tapdisk:aio:/data/guests/obsd/obsd.raw,xvda,w', 'tap:tapdisk:aio:/data/ISO-IMAGES/obsd/install$rl.iso,xvdb:cdrom,r' ] #disk = [ 'phy:/dev/drbd/by-res/$guest/0,xvda,w', vif = [ 'bridge=guestbr0, vifname=$guest.0', 'bridge=guestbr0, vifname=$guest.1' ]
xl create $guest -c netstat -lntupe | grep -i qemu vncviewer x.x.x.x:5900
and see obsd-install
switch back to console
cd /data/guests/$guest/ vi $guest #vnc = 1 #vnclisten = "0.0.0.0" #vncpasswd = "PASSWORD" #boot = "cd" nographics = 1 serial = "pty"
OpenBSD support for Xen Project https://wiki.xen.org/wiki/OpenBSD
DomU Support for Xen https://wiki.xen.org/wiki/DomU_Support_for_Xen
OpenBSD 5.9 https://www.openbsd.org/59.html
Xen Linux PV on HVM drivers https://wiki.xen.org/wiki/Xen_Linux_PV_on_HVM_drivers
xl.cfg - xl domain configuration file syntax https://xenbits.xen.org/docs/unstable/man/xl.cfg.5.html
[Xen-users] OpenBSD HVM networking misbehaves with Xen4 https://lists.xen.org/archives/html/xen-users/2011-06/msg00489.html
Setting boot order for domUs https://wiki.xenproject.org/wiki/Setting_boot_order_for_domUs
OpenBSD FAQ - Keyboard and Display Controls https://www.openbsd.org/faq/faq7.html
boot, boot.conf — amd64-specific second-stage bootstrap https://man.openbsd.org/boot.8
com — serial communications interface https://man.openbsd.org/com.4
OpenBSD: Setup a Serial Console https://www.cyberciti.biz/faq/openbsd-connect-serial-console/
Xen Serial Console https://wiki.xenproject.org/wiki/Xen_Serial_Console