mounting an NFS share via curtin_userdata

G_Gold gy_gold12 at yahoo.com
Fri Nov 4 12:38:09 UTC 2016


On Fri,Oct 28 04:44:PM, G_Gold wrote:
> On Fri,Oct 28 03:02:PM, Scott Moser wrote:
> 
> > mount_share: [
> >    'curtin', 'in-target', '--', 'sh', '-c',
> >    'file="$1"; shift; for line in "$@"; do echo "$line"; done
> >    >> "$file"',
> >    'file-appender', '/etc/fstab',
> >    '# these are added by Guy',
> >    '192.168.1.1:/data /data nfs rw 0 0']
> 
> 
> > You didn't say if the entries were getting written to fstab or
> > not.

Update:

I have tried the "mount_share" stanza in the curtin_userdata.

The deployed node boots with the share not mounted, and the
"192.168.1.1:/data /data nfs rw 0 0" is not in its /etc/fstab"

 -- 
 G_Gold




More information about the Maas-devel mailing list