aboutsummaryrefslogtreecommitdiff
path: root/nixos/modules/virtualisation
diff options
context:
space:
mode:
authorDing Xiang Fei <dingxiangfei2009@gmail.com>2019-05-22 14:44:52 +0800
committerDing Xiang Fei <dingxiangfei2009@gmail.com>2019-05-27 14:15:02 +0800
commit359fd5b7298d1e063a7c99047d3882101aeab957 (patch)
tree3d5852525ab5afe22268c0a8f4293a4f83d974c3 /nixos/modules/virtualisation
parent9745c3b64a6976cb5e7873316feab0c15d5c4874 (diff)
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.
Diffstat (limited to 'nixos/modules/virtualisation')
-rw-r--r--nixos/modules/virtualisation/google-compute-config.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/nixos/modules/virtualisation/google-compute-config.nix b/nixos/modules/virtualisation/google-compute-config.nix
index 8c7331fe4d2..2ee22b80f2f 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;
};