The hostname configured in
/mnt/persist/etc/hostname does not apply when switching slots for the first time after installing Cumulus Linux. The configured hostname does not apply until the second boot.
- Cumulus Linux 2.2.0
This issue has been escalated to a bug (CM-3592) and is targeted for resolution in Cumulus Linux 2.2.1. Click the Follow button on this article to receive updates as the fix moves towards release.
Use zero-touch provisioning to set the system hostname on the first boot.