From d5211b0e0e45c840d415733b56d9be93224f1616 Mon Sep 17 00:00:00 2001 From: Rickard Nilsson Date: Mon, 24 Feb 2014 18:05:26 +0100 Subject: Make initialRootPassword overrideable in all virtualisation modules, not just virtualbox. --- nixos/modules/virtualisation/google-compute-image.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'nixos/modules/virtualisation/google-compute-image.nix') diff --git a/nixos/modules/virtualisation/google-compute-image.nix b/nixos/modules/virtualisation/google-compute-image.nix index 098c9ede8533..634932ff0077 100644 --- a/nixos/modules/virtualisation/google-compute-image.nix +++ b/nixos/modules/virtualisation/google-compute-image.nix @@ -114,7 +114,7 @@ with pkgs.lib; # Prevent logging in as root without a password. This doesn't really matter, # since the only PAM services that allow logging in with a null # password are local ones that are inaccessible on Google Compute machines. - security.initialRootPassword = "!"; + security.initialRootPassword = mkDefault "!"; # Configure default metadata hostnames networking.extraHosts = '' -- cgit 1.4.1