mirror of
https://github.com/MacRimi/ProxMenux.git
synced 2025-10-02 16:16:19 +00:00
Update lxc-mount-manager.sh
This commit is contained in:
@@ -331,7 +331,7 @@ mount_host_directory_to_lxc() {
|
|||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
clear
|
||||||
# Step 2: Select host directory
|
# Step 2: Select host directory
|
||||||
local host_dir
|
local host_dir
|
||||||
host_dir=$(select_host_directory)
|
host_dir=$(select_host_directory)
|
||||||
@@ -355,7 +355,6 @@ mount_host_directory_to_lxc() {
|
|||||||
|
|
||||||
# Step 4: Select container mount point
|
# Step 4: Select container mount point
|
||||||
local ct_mount_point
|
local ct_mount_point
|
||||||
clear
|
|
||||||
ct_mount_point=$(select_container_mount_point "$container_id" "$host_dir")
|
ct_mount_point=$(select_container_mount_point "$container_id" "$host_dir")
|
||||||
if [[ -z "$ct_mount_point" ]]; then
|
if [[ -z "$ct_mount_point" ]]; then
|
||||||
return 1
|
return 1
|
||||||
|
Reference in New Issue
Block a user