aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2024-06-19 16:18:29 -0300
committerSilvio Rhatto <rhatto@riseup.net>2024-06-19 16:18:29 -0300
commitb03c4c9680b1f7069755b353de9d5923fc2e16c9 (patch)
tree4e0343e06626db3845980421862e45582eb8242a
parent4853ca43e39cd85c1fafffd14ca57dcedf1aa0cc (diff)
downloadtrashman-b03c4c9680b1f7069755b353de9d5923fc2e16c9.tar.gz
trashman-b03c4c9680b1f7069755b353de9d5923fc2e16c9.tar.bz2
Fix: kvmxfile cleanup
-rw-r--r--kvmxfile105
1 files changed, 1 insertions, 104 deletions
diff --git a/kvmxfile b/kvmxfile
index 5ae7d4b..e656984 100644
--- a/kvmxfile
+++ b/kvmxfile
@@ -1,124 +1,21 @@
#
-# Sample kvmx file - https://kvmx.fluxo.info
+# Trashman kvmx file - https://kvmx.fluxo.info
#
# Which base box you should use. Leave unconfigured to use kvmx-create instead.
basebox="dev"
-# First user name
-user="user"
-
-# First user password
-password="`head -c 20 /dev/urandom | base64`"
-
# Set this is you want to be able to share a single folder between host and guest.
shared_folder="."
-#shared_folder_mountpoint="/home/$user/code/$VM"
shared_folder_mountpoint="/srv/kvmx"
-#shared_folder_mountpoint="/vagrant"
-
-# 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="shared1:.:/home/$user/code/$VM,shared2:$HOME/.local/share/app:/home/$user/.local/share/app"
-
-# Folder to sync during provisioning in the format "/host/folder /guest/folder".
-#provision_rsync="$KVMX_BASE/share/provision/ /usr/local/share/kvmx/provision/"
-#provision_rsync="puppet/ /etc/puppet/"
-
-# Options for provision_rsync
-#provision_rsync_opts="--exclude=somefolder"
# Absolute path for a provision script located inside the guest.
-#provision_command="/usr/local/share/kvmx/provision/debian/development && /etc/puppet/bin/provision && /etc/puppet/bin/deploy"
-#provision_command="/usr/local/share/kvmx/provision/debian/development && /etc/puppet/bin/deploy"
-#provision_command="/usr/local/share/kvmx/provision/debian/development && /home/$user/code/$VM/bin/custom-provisioner"
provision_command="/usr/local/share/kvmx/provision/debian/development"
-#provision_command="/usr/local/share/kvmx/provision/debian/desktop-basic"
-
-# 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"
-
-# Set this if you want to attach an spice client when the machine boots.
-run_spice_client="0"
-
-# SPICE client
-spice_client="spicec"
-
-# Set this if you want to start an xpra session when the machine boots.
-run_xpra="0"
-
-# Set this if you want to start an xephyr session when the machine boots.
-run_xephyr="0"
-
-# Set screen resolution
-#resolution="1280x785"
-
-# Set additional hostfwd mappings
-#port_mapping="hostfwd=tcp:127.0.0.1:8080-:80,hostfwd=tcp:127.0.0.1:8443-:443"
-
-# Where the guest image is stored
-#image="$HOME/.local/share/kvmx/$VM/box.img"
-
-# Image size
-size="10G"
-
-# Image format: raw or qcow2
-format="qcow2"
-
-# Image compression (qcow2 only)
-qcow2_compression="1"
# Memory
memory="512"
-# Bootstrap method: custom or vmdeboostrap
-method="custom"
-
-# Hostname
-hostname="trashman"
-
-# Domain
-domain="example.org"
-
-# System arch
-arch="amd64"
-
-# Box distribution when bootstraping a new image
-version="stretch"
-
-# Debian mirror
-mirror="http://http.debian.net/debian/"
-
# 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"
-
-# Use a custom, per-virtual-machine generated SSH keypair. If you disable this
-# configuration but still want guest administration using SSH, the default
-# insecure keypair will be used.
-#
-# Please note that this setting won't take effect if you're using a basebox.
-# In that case the basebox keypair will be used if it exists, otherwise kvmx
-# fallsback to the default insecure keypair.
-#
-# This setting is used during virtual machine bootstrapping by kvmx-create.
-ssh_custom="y"
-
-# Bootloader (used only during bootstrapping by kvmx-create).
-bootloader="grub"
-
-# Drive interface
-# Needed by some systems like NetBSD and FreeBSD
-#drive_interface="ide"
-
-# See http://www.reactos.org/wiki/QEMU#Setting_up_network
-#nic_model="ne2k_pci"