aboutsummaryrefslogtreecommitdiff
path: root/kvmxfile
blob: ea6ab0298facbbd353b5693aacdf3b8c42e72899 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
#
# Slides kvmx file - https://kvmx.fluxo.info
#

# Hostname
hostname="slides"

# Set this is you want to be able to share multiple folders between host and guest using 9p.
# Needs ssh_support set to "y" and a workable SSH connection to the guest.
# Format: <id1>:<host-folder1>:<guest-mountpoint1>,<id2>:<host-folder2>:<guest-mountpoint2>[,...]
shared_folders="shared:.:/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"
provision_command="$provision_command && /srv/shared/scripts/provision-host"

# Startup command
startup_command="hydractl aperiodic-upgrade"
# Make serve might running from the outside, so this is left commented
#startup_command="make -C /srv/shared serve"

# Set additional hostfwd mappings
#port_mapping="hostfwd=tcp:127.0.0.1:8080-:80,hostfwd=tcp:127.0.0.1:8443-:443"
port_mapping="hostfwd=tcp:127.0.0.1:8050-:80"

# 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="512"

# 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"