#!/bin/sh
echo this is not actually a script
exit 1


# this will create an Alpine 3.9 qemu/libvirt VM,
# basically follow https://ocv.me/doc/?alpine/alpine-in-virtualbox.sh
# except for the differences mentioned below


# when creating the vm, use the following settings:
#   video model = virtio
#   disk bus = scsi
#   scsi model = virtio


# when installing the xfce4 packages, also install this:
apk add mesa-dri-virtio


# after rebooting into xfce4 for the first time (TODO maybe initially),
#   add hardware: input: virtio keyboard
#   add hardware: input: virtio tablet


# libvirt folder sharing
# TODO: move to libvirt.txt
# on host:
#   usermod -aG kvm ed
#   usermod -aG libvirt ed
# add hardware: filesystem
#   driver: default
#   mode: mapped
#   source path: /srv
#   target path: hostsrv
# in vm:
#   mount -t 9p -otrans=virtio,version=9p2000.L hostsrv /mnt/host

