blob: bdd0b4cfd78b676434b946c2bbf06dbf7f21fdac (
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
|
#
# Sample kvmx file - https://kvmx.fluxo.info
#
# Hostname
hostname="protocolos"
# 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="shared1:.:/home/$user/code/$VM,shared2:$HOME/.local/share/app:/home/$user/.local/share/app"
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:8040-:80"
# 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"
|