From e5d0c331b3439e7b2df287708b44aec1c2ec2ffb Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Tue, 11 Jul 2017 09:58:53 -0300 Subject: Updates kvmx --- kvmx | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/kvmx b/kvmx index 1cf2a8f..bd4e1f0 100755 --- a/kvmx +++ b/kvmx @@ -1067,6 +1067,20 @@ function kvmx_open { kvmx ssh $VM rm -rf $DEST_FOLDER } +# Rename a guest +function kvmx_rename { + if kvmx_running; then + echo "$BASENAME: guest $VM is running" + exit 1 + fi + + echo "TODO" + # Rename folder + # Rename image + # Rename keypair + # Update config file +} + # Dispatch if type kvmx_$ACTION 2> /dev/null | grep -q "kvmx_$ACTION ()"; then __kvmx_initialize -- cgit v1.2.3