home

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit 7f206cbc29856c1494e334cb4531734957a4e7ad
parent 08f959ac105266a675145e6bab8ba9d08e1de84e
Author: Vincent Demeester <vincent@sbr.pm>
Date:   Thu, 16 Sep 2021 19:16:20 +0200

tools/k8s.infra: small changes

Signed-off-by: Vincent Demeester <vincent@sbr.pm>

Diffstat:
Msystems/hosts/k8sn1.nix | 4++--
Msystems/hosts/k8sn2.nix | 4++--
Msystems/hosts/k8sn3.nix | 4++--
Mtools/k8s.infra/k8s.infra.sh | 2+-
4 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/systems/hosts/k8sn1.nix b/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; diff --git a/systems/hosts/k8sn2.nix b/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; diff --git a/systems/hosts/k8sn3.nix b/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; diff --git a/tools/k8s.infra/k8s.infra.sh b/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 }