aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2017-07-11 09:58:53 -0300
committerSilvio Rhatto <rhatto@riseup.net>2017-07-11 09:58:53 -0300
commite5d0c331b3439e7b2df287708b44aec1c2ec2ffb (patch)
tree2769dd488c5d06da93f36815e5395f3bab8fa2b4
parent6f45b933c72c5dbba8a97a2d672da23b2b679698 (diff)
downloadkvmx-e5d0c331b3439e7b2df287708b44aec1c2ec2ffb.tar.gz
kvmx-e5d0c331b3439e7b2df287708b44aec1c2ec2ffb.tar.bz2
Updates kvmx
-rwxr-xr-xkvmx14
1 files changed, 14 insertions, 0 deletions
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