mirror of
https://github.com/bashclub/zamba-lxc-toolbox.git
synced 2024-11-08 03:31:58 +01:00
Replaced hardcoded sharename by $ZMB_SHARE
This commit is contained in:
parent
5b05d94d64
commit
a543e0a076
@ -25,7 +25,7 @@ smbpasswd -x $USER
|
|||||||
(echo $ZMB_ADMIN_PASS; echo $ZMB_ADMIN_PASS) | smbpasswd -a $USER
|
(echo $ZMB_ADMIN_PASS; echo $ZMB_ADMIN_PASS) | smbpasswd -a $USER
|
||||||
|
|
||||||
cat << EOF >> /etc/samba/smb.conf
|
cat << EOF >> /etc/samba/smb.conf
|
||||||
[share]
|
[$ZMB_SHARE]
|
||||||
comment = Main Share
|
comment = Main Share
|
||||||
path = /$LXC_SHAREFS_MOUNTPOINT/$ZMB_SHARE
|
path = /$LXC_SHAREFS_MOUNTPOINT/$ZMB_SHARE
|
||||||
read only = No
|
read only = No
|
||||||
|
Loading…
Reference in New Issue
Block a user