nuageinit: support "fqdn" and "hostname"
(cherry picked from commit f1dd507b2c44f16c94395e67f82125c491ebddf2)