1
0
Fork 1
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:
Antoine Eiche 2019-01-28 21:06:24 +01:00
parent d190b204f0
commit 78acac050f

View file

@ -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";