From 359fd5b7298d1e063a7c99047d3882101aeab957 Mon Sep 17 00:00:00 2001 From: Ding Xiang Fei Date: Wed, 22 May 2019 14:44:52 +0800 Subject: nixos/modules/virtualisation/google-compute-config.nix: pin filesystem type to ext4 for now Fix #61859. Assertion fails when a Google Compute Engine image is built, because now choices of filesystem types are restricted to `f2fs` and `ext` family if auto-resizing is enabled. This change will pin the filesystem used on such an image to be `ext4` for now. --- nixos/modules/virtualisation/google-compute-config.nix | 1 + 1 file changed, 1 insertion(+) (limited to 'nixos/modules/virtualisation') diff --git a/nixos/modules/virtualisation/google-compute-config.nix b/nixos/modules/virtualisation/google-compute-config.nix index 8c7331fe4d2b..2ee22b80f2f5 100644 --- a/nixos/modules/virtualisation/google-compute-config.nix +++ b/nixos/modules/virtualisation/google-compute-config.nix @@ -12,6 +12,7 @@ in fileSystems."/" = { + fsType = "ext4"; device = "/dev/disk/by-label/nixos"; autoResize = true; }; -- cgit 1.4.1