# Minimal Xen domain template for an Alpine rs-surface appliance. # # Edit disk, vif bridge, kernel, ramdisk, and root before `xl create`. # The guest should be installed with Alpine linux-lts, OpenRC, and python3. name = "rs-alpine-surface" type = "pvh" memory = 192 vcpus = 1 maxvcpus = 1 # Serial-first recovery lane. serial = "pty" extra = "console=hvc0 root=/dev/xvda3 ro modules=ext4 quiet" # Use host-exported Alpine kernel/initramfs for PVH boot, or switch to pygrub # if your Xen host policy prefers booting the guest's own /boot. kernel = "/var/lib/xen/images/rs-alpine/vmlinuz-lts" ramdisk = "/var/lib/xen/images/rs-alpine/initramfs-lts" disk = [ "format=raw,vdev=xvda,access=rw,target=/var/lib/xen/images/rs-alpine/rootfs.raw" ] vif = [ "bridge=xenbr0,model=virtio" ] on_poweroff = "destroy" on_reboot = "restart" on_crash = "preserve"