mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 13:41:26 +00:00
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;
|
||||
};
|
||||
|
||||
# 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