I’m replying to my own question as I found the solution.
I used {{node.boot_cluster_ip}} to get hostname of a maas node in /etc/maas/preseeds/curtin_userdata file in late_commands section.
I’m replying to my own question as I found the solution.
I used {{node.boot_cluster_ip}} to get hostname of a maas node in /etc/maas/preseeds/curtin_userdata file in late_commands section.