]> gitweb.fluxo.info Git - kvmx.git/commitdiff
Adds kvmx_list_folder and use transform_symlinks at kvmx_sshfs
authorSilvio Rhatto <rhatto@riseup.net>
Wed, 19 Aug 2020 21:23:39 +0000 (18:23 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Wed, 19 Aug 2020 21:23:39 +0000 (18:23 -0300)
kvmx

diff --git a/kvmx b/kvmx
index 113826f663a6077d2d8db61b5649f8adbe6d4e9e..8667405d2a62ce4f4d82958ad3fe449734fa4a86 100755 (executable)
--- a/kvmx
+++ b/kvmx
@@ -870,7 +870,7 @@ function kvmx_sshfs {
                                                            -o sshfs_sync             \
                                                            -o sync_readdir           \
                                                            -o cache=no               \
-                                                           -o follow_symlinks        \
+                                                           -o transform_symlinks     \
                                                            -o sync_read              \
                                                            -o workaround=none        \
                                                            -o noforget               \
@@ -1565,6 +1565,11 @@ function kvmx_list_image {
   echo $image
 }
 
+# Print guest folder name
+function kvmx_list_folder {
+  echo $KVMX_PROJECT_FOLDER
+}
+
 # Print guest status
 function kvmx_status {
   if kvmx_suspended; then