[16:16] <zph0nx> is it possible to specify domain name in cloud-config autoinstall? im trying to get a full fqdn in the installed system, and hostname -f just comes up with hostname, and the identity part in the installer ( i have that part interactive ) disallowed anything that isnt alphabetical or numerical
[16:26] <asikrom> zph0nx: The only way I know is to do a fully-automatic, with fqdn set in meta-data and user-data --> runcmd:
[16:26] <asikrom> - hostname -f > /etc/hostname
[16:26] <asikrom> - hostname -F /etc/hostname
[16:27] <asikrom> Alternatively, leave out the last cmd and reboot instead
[16:28] <zph0nx> asikrom: the problem is that i cant even set the domain name in the installation, only hostname.
[16:29] <zph0nx> im trying to see if there is any cloud-init/autoinstall options for this.
[16:30] <asikrom> If you set local-hostname: <fqdn> in meta-data and run it fully auto, the above should work
[16:30] <asikrom> Of course, if you need that part of the installer to be interactive, it will not help
[16:32] <zph0nx> and its for a bare metal golden image, so the hostname will be diffrent each time
[16:32] <zph0nx> only two parts interactive is network and identity
[16:33] <asikrom> OK, makes sense
[16:34] <zph0nx> we do run a provision script on startup though, which pulls another script from a web server and attaches it to puppet and joins it to the AD etc, i suppose i can do some sed magic there