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:
@@ -287,7 +287,7 @@ add_bind_mount() {
|
|||||||
|
|
||||||
mpidx=$(get_next_mp_index "$ctid")
|
mpidx=$(get_next_mp_index "$ctid")
|
||||||
|
|
||||||
result=$(pct set "$ctid" -mp${mpidx} "$host_path,mp=$ct_path,backup=0,ro=0,acl=1" 2>&1)
|
result=$(pct set "$ctid" -mp${mpidx} "$host_path,mp=$ct_path,backup=0,acl=1" 2>&1)
|
||||||
|
|
||||||
if [[ $? -eq 0 ]]; then
|
if [[ $? -eq 0 ]]; then
|
||||||
msg_ok "$(translate "Successfully mounted:") $host_path → $ct_path"
|
msg_ok "$(translate "Successfully mounted:") $host_path → $ct_path"
|
||||||
|
Reference in New Issue
Block a user