diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2017-03-16 11:06:15 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2017-03-16 11:06:15 -0300 |
commit | 78fd9c0f93856045ab26cf2364fa8d1f795a7624 (patch) | |
tree | 9ced2ca040b263fd427450d9efdb0b4eee933db5 | |
parent | 2fa95cdf9e50f3ced1c4a23da0837c417cf2ac70 (diff) | |
download | kvmx-78fd9c0f93856045ab26cf2364fa8d1f795a7624.tar.gz kvmx-78fd9c0f93856045ab26cf2364fa8d1f795a7624.tar.bz2 |
Provision: verbosity
-rwxr-xr-x | kvmx | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -533,10 +533,12 @@ function kvmx_provision { ORIG="`echo $provision_rsync | cut -d ' ' -f 1`" DEST="`echo $provision_rsync | cut -d ' ' -f 2`" + echo "Syncing provision files into the guest..." echo "sudo mkdir -p `dirname $DEST`" | kvmx_ssh rsync -av -e "$SSH_COMMAND -o Port=$SSH" --rsync-path "sudo rsync" $ORIG/ $SSH_LOGIN@127.0.0.1:$DEST/ fi + echo "Running provision command inside the guest..." echo "$provision_command $hostname $domain $mirror" | kvmx_ssh } |