aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2018-03-05 12:11:27 -0300
committerSilvio Rhatto <rhatto@riseup.net>2018-03-05 12:11:27 -0300
commit1f01fb02bcf6d15d153a1c7ae5964a02551a14dc (patch)
tree290b6f597775612fb8578d8801c49fafb77e0f8d
parent5b4f7a14c7151a51f5d18830e8df6349ce0dd5a6 (diff)
downloadkvmx-1f01fb02bcf6d15d153a1c7ae5964a02551a14dc.tar.gz
kvmx-1f01fb02bcf6d15d153a1c7ae5964a02551a14dc.tar.bz2
Fixes cache option ad kvmx_up mount command
-rwxr-xr-xkvmx2
1 files changed, 1 insertions, 1 deletions
diff --git a/kvmx b/kvmx
index 473e122..c8d315b 100755
--- a/kvmx
+++ b/kvmx
@@ -495,7 +495,7 @@ function kvmx_up {
IFS="$old_ifs"
echo "Mounting $shared_folder on $shared_folder_mountpoint $id on guest..."
echo "sudo mkdir -p $shared_folder_mountpoint" | kvmx_ssh
- echo "sudo mount -t 9p -o trans=virtio $id $shared_folder_mountpoint -oversion=9p2000.L,posixacl,cache=none -o sync -o dirsync" | kvmx_ssh
+ echo "sudo mount -t 9p -o trans=virtio $id $shared_folder_mountpoint -oversion=9p2000.L,posixacl,cache=$shared_folders_cache -o sync -o dirsync" | kvmx_ssh
IFS=","
done
IFS="$old_ifs"