nixos/openstackImage: default hostname is empty string
This is to let the `ec2-data.nix` module sets the hostname from the metadata API value.
This commit is contained in:
parent
d190b204f0
commit
78acac050f
1 changed files with 3 additions and 0 deletions
|
@ -29,6 +29,9 @@ with lib;
|
|||
passwordAuthentication = mkDefault false;
|
||||
};
|
||||
|
||||
# Force getting the hostname from Openstack metadata.
|
||||
networking.hostName = mkDefault "";
|
||||
|
||||
systemd.services.openstack-init = {
|
||||
path = [ pkgs.wget ];
|
||||
description = "Fetch Metadata on startup";
|
||||
|
|
Loading…
Reference in a new issue