]> gitweb.fluxo.info Git - kvmx.git/commitdiff
Updates kvmx
authorSilvio Rhatto <rhatto@riseup.net>
Tue, 11 Jul 2017 12:58:53 +0000 (09:58 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Tue, 11 Jul 2017 12:58:53 +0000 (09:58 -0300)
kvmx

diff --git a/kvmx b/kvmx
index 1cf2a8f0afa7ec9986cc46cdaee499faf1b89a1c..bd4e1f06c6565078c4f65bb7611027ff9e967090 100755 (executable)
--- 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