Below is my ros config export
EXTRA_CMDLINE: /init
mounts:
- - //freenas/nascifs
- /media/cifsroot
- cifs
- credentials=/root/.smbcred,iocharset=utf8,_netdev
rancher:
environment:
EXTRA_CMDLINE: /init
network:
dns:
nameservers:
- 10.xx.xx.xx
- 10.xx.xx.xx
interfaces:
eth0:
address: 10.xx.xx.xx/24
dhcp: false
gateway: 10.xx.xx.xx
mtu: 1500
state:
dev: LABEL=RANCHER_STATE
wait: true
ssh_authorized_keys:
- ssh-rsa xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
I cant seem to pick any issues with the mounts config. Also I am able to successfully use the mount command to mount the same share using the same credentials. There seems to be no log whatso ever for the mounts: section of the config . Any pointers?