aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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