#
# Onion Launchpad kvmx file - https://0xacab.org/rhatto/kvmx
#

# Hostname
hostname="onion-launchpad"

# Which base box you should use. Leave unconfigured to use kvmx-create instead.
#basebox="bookworm"
basebox="dev"

# Set this is you want to be able to share a single folder between host and guest.
# Needs ssh_support set to "y" and a workable SSH connection to the guest.
shared_folder="."
shared_folder_mountpoint="/srv/shared"

# Absolute path for a provision script located inside the guest.
# Needs ssh_support set to "y" and a workable SSH connection to the guest.
provision_command="/usr/local/share/kvmx/provision/debian/development"
provision_command="$provision_command && /srv/shared/scripts/provision-gitlab-runner"
provision_command="$provision_command && /srv/shared/scripts/provision-docker-compose"
provision_command="$provision_command && /srv/shared/scripts/provision"
provision_command="$provision_command && /srv/shared/scripts/provision-pyenv"

# Set additional hostfwd mappings
port_mapping="hostfwd=tcp:127.0.0.1:5000-:5000"

# Use basebox image as a backing file for overlay images
# See https://wiki.archlinux.org/index.php/QEMU#Overlay_storage_images
backing_file="1"

# Memory
memory="1024"

# Enables remote administration using SSH. With this configuration enabled,
# kvmx will be able to administer a running virtual machine using SSH access
# inside the virtual machine.
ssh_support="y"
