mounting an NFS share via curtin_userdata
Andres Rodriguez
andres.rodriguez at canonical.com
Fri Oct 28 17:30:36 UTC 2016
Hi Guy,
Try this instead:
mount_share: curtin in-target -- sh -c "/bin/echo '192.168.1.1:/data /data
nfs <options>' >> /etc/fstab"
On Fri, Oct 28, 2016 at 1:02 PM, G_Gold <gy_gold12 at yahoo.com> wrote:
> Greetings, list.
>
> I'm trying to accomplish a seemingly simple task, with little
> success.
> The goal is to have a node boot after deployment with an NFS
> share mounted. (The NFS server is a system within the node's
> LAN).
>
> I've tried multiple directives within /etc/maas/presseed/curtin_userdata ,
> the last one being:
>
> mount_share:["curtin", "in-target", "--", "sh", "-c", "/bin/echo
> '192.168.1.1:/data /data nfs _netdev,rw 0 0' >> /etc/fstab"]
>
> However, the node still boots with the share not mounted,
> while mounting manually works with no issues.
>
> Thank you.
>
> --
> G.Gold
>
> --
> Maas-devel mailing list
> Maas-devel at lists.ubuntu.com
> Modify settings or unsubscribe at: https://lists.ubuntu.com/
> mailman/listinfo/maas-devel
>
--
Andres Rodriguez
Engineering Manager, MAAS
Canonical USA, Inc.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/maas-devel/attachments/20161028/5cb817b7/attachment.html>
More information about the Maas-devel
mailing list