Code review comment for lp:~jamesodhunt/ubuntu/vivid/ubuntu-core-config/bug-1418966

Revision history for this message
James Hunt (jamesodhunt) wrote :

Note that our current approach with snappy is to minimise the amount of work done in the initramfs, since if the initramfs breaks, the system is effectively dead.

Therefore, this MP sets the hostname in userland via systemd. However, there is the chance that *iff* a service starts very early in boot (before the 'writable' partition gets mounted), it will see the hostname as "localhost.localdomain".

« Back to merge proposal