diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2017-04-03 21:50:12 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2017-04-03 21:50:12 -0300 |
commit | 8648b94dbf0735467a5d9c4380a4fc94bd923ea9 (patch) | |
tree | 762fbd1e55e90c38c55a72f2df2b7330ae3a6a15 /kvmxfile | |
parent | 07b03c209966c0c2acf4e0c1f0fbd122e773fbc3 (diff) | |
download | puppet-bootstrap-8648b94dbf0735467a5d9c4380a4fc94bd923ea9.tar.gz puppet-bootstrap-8648b94dbf0735467a5d9c4380a4fc94bd923ea9.tar.bz2 |
Adds kvmxfile
Diffstat (limited to 'kvmxfile')
-rw-r--r-- | kvmxfile | 86 |
1 files changed, 86 insertions, 0 deletions
diff --git a/kvmxfile b/kvmxfile new file mode 100644 index 0000000..4ce99d5 --- /dev/null +++ b/kvmxfile @@ -0,0 +1,86 @@ +# +# Sample kvmx file +# + +# Which base box you should use. Leave unconfigured to use kvmx-create instead. +#basebox="stretch" + +# First user name +user="vagrant" + +# First user password +password="vagrant" + +# Set this is you want to be able to share folders between host and guest. +shared_folder="." +shared_folder_mountpoint="/vagrant" + +# 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="puppet/bin/provision && 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" + +# 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="$HOME/.local/share/kvmx/$VM/box.img" + +# Image size +size="10G" + +# Image format: raw or qcow2 +format="qcow2" + +# Bootstrap method: custom or vmdeboostrap +method="custom" + +# Hostname +hostname="bootstrap" + +# 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" |