mirror of
https://github.com/bashclub/zamba-lxc-toolbox.git
synced 2024-11-07 19:31:58 +01:00
Set backup=1 or lxc mountpooint
This commit is contained in:
parent
806cc1c604
commit
9ca05ed0f5
@ -148,7 +148,7 @@ fi
|
|||||||
sleep 2
|
sleep 2
|
||||||
|
|
||||||
if [ $LXC_MP -gt 0 ]; then
|
if [ $LXC_MP -gt 0 ]; then
|
||||||
pct set $LXC_NBR -mp0 $LXC_SHAREFS_STORAGE:$LXC_SHAREFS_SIZE,mp=/$LXC_SHAREFS_MOUNTPOINT
|
pct set $LXC_NBR -mp0 $LXC_SHAREFS_STORAGE:$LXC_SHAREFS_SIZE,backup=1,mp=/$LXC_SHAREFS_MOUNTPOINT
|
||||||
fi
|
fi
|
||||||
sleep 2;
|
sleep 2;
|
||||||
|
|
||||||
@ -182,4 +182,4 @@ if [[ $service == "zmb-ad" ]]; then
|
|||||||
elif [[ $service == "zmb-ad-join" ]]; then
|
elif [[ $service == "zmb-ad-join" ]]; then
|
||||||
pct set $LXC_NBR -nameserver "${LXC_IP%/*} $LXC_DNS"
|
pct set $LXC_NBR -nameserver "${LXC_IP%/*} $LXC_DNS"
|
||||||
fi
|
fi
|
||||||
pct start $LXC_NBR
|
pct start $LXC_NBR
|
||||||
|
Loading…
Reference in New Issue
Block a user