[Bug 1809155] Re: subiquity in 18.04.1 via cloud-init doesn't set hostname persistence

Michael Hudson-Doyle mwhudsonlp at fastmail.fm
Thu Feb 21 13:47:44 UTC 2019


** Also affects: subiquity
   Importance: Undecided
       Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to subiquity in Ubuntu.
https://bugs.launchpad.net/bugs/1809155

Title:
  subiquity in 18.04.1 via cloud-init doesn't set hostname persistence

Status in subiquity:
  New
Status in subiquity package in Ubuntu:
  New

Bug description:
  When installing with Subiquity, on the Live ISOs for Server, once the
  system is installed, cloud-init in /etc/cloud/cloud.cfg has
  preserve_hostname set to "False".

  In essence, if you are trying to change the hostname post-install on
  such an installation, the changed hostname will *not* persist.

  Therefore, if I installed with the hostname 'ubuntu' and want to
  change it to 'teward-server', the typical process is to edit
  /etc/hosts, /etc/hostname, and run hostnamectl to change the hostname
  references for the system.

  Currently, however, we have to set preserve_hostname to 'True' for
  /etc/cloud/cloud.cfg in order for the hostname change to persist.

  It should probably be done by Subiquity that after you install it you
  set persist_hostname to "True" in order for hostname changes post-
  install to still be kept and applied.

To manage notifications about this bug go to:
https://bugs.launchpad.net/subiquity/+bug/1809155/+subscriptions



More information about the foundations-bugs mailing list