/srv/irclogs.ubuntu.com/2024/04/29/#ubuntu-server.txt

=== chris14_ is now known as chris14
=== chris14_ is now known as chris14
zph0nxis 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 numerical16:16
asikromzph0nx: 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/hostname16:26
asikrom- hostname -F /etc/hostname16:26
asikromAlternatively, leave out the last cmd and reboot instead16:27
zph0nxasikrom: the problem is that i cant even set the domain name in the installation, only hostname.16:28
zph0nxim trying to see if there is any cloud-init/autoinstall options for this.16:29
asikromIf you set local-hostname: <fqdn> in meta-data and run it fully auto, the above should work16:30
asikromOf course, if you need that part of the installer to be interactive, it will not help16:30
zph0nxand its for a bare metal golden image, so the hostname will be diffrent each time16:32
zph0nxonly two parts interactive is network and identity16:32
asikromOK, makes sense16:33
zph0nxwe 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 there16:34
=== ch0ps3y is now known as Guest6242
=== ch0ps3y is now known as Guest7316
=== ch0ps3y is now known as Guest8402

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!