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
@ -29,6 +29,9 @@ with lib;
|
|||||||
passwordAuthentication = mkDefault false;
|
passwordAuthentication = mkDefault false;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
# Force getting the hostname from Openstack metadata.
|
||||||
|
networking.hostName = mkDefault "";
|
||||||
|
|
||||||
systemd.services.openstack-init = {
|
systemd.services.openstack-init = {
|
||||||
path = [ pkgs.wget ];
|
path = [ pkgs.wget ];
|
||||||
description = "Fetch Metadata on startup";
|
description = "Fetch Metadata on startup";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user