diff options
Diffstat (limited to 'kvmxfile')
| -rw-r--r-- | kvmxfile | 34 | 
1 files changed, 12 insertions, 22 deletions
| @@ -1,39 +1,29 @@  # -# Sample kvmx file - https://kvmx.fluxo.info +# Sample kvmx file  #  # Which base box you should use. Leave unconfigured to use kvmx-create instead.  #basebox="stretch"  # First user name -user="vagrant" +user="user"  # First user password -password="vagrant" +password="$RANDOM"  # Set this is you want to be able to share folders between host and guest. -shared_folder="." -shared_folder_mountpoint="/vagrant" +#shared_folder="." +#shared_folder_mountpoint="/home/user/code/$VM" -# Folder to sync during provisioning in the format "/host/folder /guest/folder". -provision_rsync="puppet /etc/puppet" +# Set this is you want to be able to share multiple folders between host and guest. +# Format: <id1>:<host-folder1>:<guest-mountpoint1>,<id2>:<host-folder2>:<guest-mountpoint2>[,...] +shared_folders="debian:.:/home/$user/code/debian,distros:/var/data/distros:/var/data/distros" -# Options for provision_rsync -provision_rsync_opts="--exclude=.git --exclude=keys --exclude=config/secrets" +# Folder to sync during provisioning in the format "/host/folder /guest/folder". +provision_rsync="puppet /etc/puppet/"  # Absolute path for a provision script located inside the guest. -provision_command="/etc/puppet/bin/provision && /etc/puppet/bin/deploy" - -# Graphics -# See https://wiki.archlinux.org/index.php/QEMU#Graphics -#graphics="-vga std -nographic -vnc :$GUEST_DISPLAY" -graphics="-vga qxl" - -# VNC Client -#vnc_client="xtightvncviewer" -#vnc_client="xvnc4viewer" -#vnc_client="xvncviewer" -vnc_client="virt-viewer" +provision_command="/usr/local/share/kvmx/provision/development && /home/user/code/$VM/bin/debian-dev-setup"  # Set this if you want to automatically attach an spice client when the machine  # boots. @@ -55,7 +45,7 @@ format="qcow2"  method="custom"  # Hostname -hostname="puppet" +hostname="debian"  # Domain  domain="example.org" | 
