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".
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" .