diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2017-12-31 00:08:25 -0200 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2017-12-31 00:08:25 -0200 |
commit | 49c42178e30d8453dbd53a5f0f04f0db751fa432 (patch) | |
tree | 34286e52176b8cda6d42caf35fb8c2b703253dc2 /kvmxfile | |
parent | d2263b94f93e0c0b7549c5a84c18834f8e6e8f58 (diff) | |
download | kvmx-49c42178e30d8453dbd53a5f0f04f0db751fa432.tar.gz kvmx-49c42178e30d8453dbd53a5f0f04f0db751fa432.tar.bz2 |
Better command-line argument handling and additional action checks
Diffstat (limited to 'kvmxfile')
-rw-r--r-- | kvmxfile | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -16,6 +16,7 @@ password="`head -c 20 /dev/urandom | base64`" net="user" # Set this is you want to be able to share a single folder between host and guest. +# Needs ssh_support set to "y" and a workable SSH connection to the guest. shared_folder="." shared_folder_mountpoint="/home/$user/code/$VM" #shared_folder_mountpoint="/srv/shared" @@ -23,6 +24,7 @@ shared_folder_mountpoint="/home/$user/code/$VM" #shared_folder_mountpoint="/vagrant" # Set this is you want to be able to share multiple folders between host and guest. +# 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" @@ -36,6 +38,7 @@ shared_folder_mountpoint="/home/$user/code/$VM" #shared_folders_cache="none" # Folder to sync during provisioning in the format "/host/folder1 /guest/folder1,/host/folder2 /guest/folder2[,...]". +# Needs ssh_support set to "y" and a workable SSH connection to the guest. #provision_rsync="$KVMX_BASE/share/provision/ /usr/local/share/kvmx/provision/" #provision_rsync="puppet/ /etc/puppet/" @@ -43,6 +46,7 @@ shared_folder_mountpoint="/home/$user/code/$VM" #provision_rsync_opts="--exclude=somefolder" # 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/development && /etc/puppet/bin/provision && /etc/puppet/bin/deploy" #provision_command="/usr/local/share/kvmx/provision/development && /etc/puppet/bin/deploy" #provision_command="/usr/local/share/kvmx/provision/development && /home/$user/code/$VM/bin/custom-provisioner" |