Commit 7f206cbc2985

Vincent Demeester <vincent@sbr.pm>
2021-09-16 19:16:20
tools/k8s.infra: small changes
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
1 parent 08f959a
Changed files (4)
systems/hosts/k8sn1.nix
@@ -25,9 +25,9 @@ in
   };
 
   fileSystems."/var" = {
-    device = "/dev/vdb";
+    device = "/dev/vdb1"; # /dev/vdb ?
     fsType = "ext4";
-    autoResize = true; # Is this needed ?
+    # autoResize = true; # Is this needed ?
   };
 
   boot.growPartition = true;
systems/hosts/k8sn2.nix
@@ -21,9 +21,9 @@ in
   };
 
   fileSystems."/var" = {
-    device = "/dev/vdb";
+    device = "/dev/vdb1";
     fsType = "ext4";
-    autoResize = true; # Is this needed ?
+    # autoResize = true; # Is this needed ?
   };
 
   boot.growPartition = true;
systems/hosts/k8sn3.nix
@@ -20,9 +20,9 @@ in
     autoResize = true;
   };
   fileSystems."/var" = {
-    device = "/dev/vdb";
+    device = "/dev/vdb1";
     fsType = "ext4";
-    autoResize = true; # Is this needed ?
+    # autoResize = true; # Is this needed ?
   };
 
   boot.growPartition = true;
tools/k8s.infra/k8s.infra.sh
@@ -46,7 +46,7 @@ delete() {
         } || {
             echo "skipping, not present…"
         }
-        ${VIRSH_COMMAND} undefine ${n} --remove-all-storage || echo "Failed to erase.."
+        ${VIRSH_COMMAND} undefine ${n} --remove-all-storage || echo "Failed to erase.. might not exists"
     done
 }