diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2017-03-10 17:06:16 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2017-03-10 17:06:16 -0300 |
commit | 9cba4bea51f7351fea04a99c06b216215bbd6b4d (patch) | |
tree | 61573098be33fec7e1d3cf63c30caa4a45e899c2 | |
parent | e4cfd6510156d9c5af43c46a2f331dddc30f8dd7 (diff) | |
download | debian-9cba4bea51f7351fea04a99c06b216215bbd6b4d.tar.gz debian-9cba4bea51f7351fea04a99c06b216215bbd6b4d.tar.bz2 |
Adds kvmxfile
-rw-r--r-- | kvmxfile | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/kvmxfile b/kvmxfile new file mode 100644 index 0000000..16ce64c --- /dev/null +++ b/kvmxfile @@ -0,0 +1,50 @@ +# +# Sample kvmx file +# + +# Which base box you should use. Leave unconfigured to use kvmx-create instead. +basebox="stretch" + +# Set this is you want to be able to share folders between host and guest. +shared_folder="." +shared_folder_mountpoint="/home/user/code/$VM" + +# Folder to sync during provisioning in the format "/host/folder /guest/folder". +provision_rsync="$KVMX_BASE/provision/ /usr/local/share/kvmx/provision/" + +# Absolute path for a provision script located inside the guest. +provision_command="/usr/local/share/kvmx/provision/development" + +# Set this if you want to automatically attach an spice client when the machine +# boots. +run_spice_client="0" + +# 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="/var/cache/qemu/debian/box.img" + +# Image size +size="10G" + +# Image format: raw or qcow2 +format="qcow2" + +# Bootstrap method: custom or vmdeboostrap +method="custom" + +# Hostname +hostname="debian" + +# 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/" |