Heat and NAS mount. Create NAS and mount it
Hi:
Is there a way to get the IP from an NAS instance server defined in the heat template and use it to mount the nas point in other instaces defined also later on in the template?
I tried with str_replace to get the IP of the nas server and cloud-init (mounts) to configure the resources where the nas share should be mounted but had no success:
mounts:
- [ "<nas_server_IP_recently_created_resource>:/share", "/media/nas", "nfs", "nodiratime,noatime,rsize=8192,wsize=8192", "0", "0" ]
Thanks,