FS#67941 - [cloud-init] Add inetutils as a dependency
Attached to Project:
Community Packages
Opened by Evaggelos Balaskas (ebal) - Saturday, 19 September 2020, 20:08 GMT
Last edited by David Runge (dvzrv) - Friday, 07 May 2021, 17:33 GMT
Opened by Evaggelos Balaskas (ebal) - Saturday, 19 September 2020, 20:08 GMT
Last edited by David Runge (dvzrv) - Friday, 07 May 2021, 17:33 GMT
|
Details
Description:
According to this: https://github.com/canonical/cloud-init/blob/6d332e5c8dbfb6521a530b1fa49d73da51efff96/cloudinit/distros/__init__.py#L239 and if not mistaken, cloud-init is using the hostname command to apply the hostname of a machine in runtime. In debian/ubuntu packages hostname is an essential package. In Archlinux, hostname command is part of core/inetutils. So if you want cloud-init to set the hostname (thus until reboot which will read the /etc/hostname) you need inetutils as a dependency for cloud-init in archlinux Additional info: * package version(s) * config and/or log files etc. * link to upstream bug report, if any Steps to reproduce: |
This task depends upon
Closed by David Runge (dvzrv)
Friday, 07 May 2021, 17:33 GMT
Reason for closing: Fixed
Additional comments about closing: The dependency on inetutils is not needed anymore with cloud-init 21.2 as hostnamectl is used.
Friday, 07 May 2021, 17:33 GMT
Reason for closing: Fixed
Additional comments about closing: The dependency on inetutils is not needed anymore with cloud-init 21.2 as hostnamectl is used.
I have opened a PR upstream: https://github.com/canonical/cloud-init/pull/797 so hopefully we can remove inetutils as a dependency in the future.