diff --git a/demo/terraform/vms.tf b/demo/terraform/vms.tf index 6479ea0eb043d38286d9ac6ab2563f98f7eb2c23..32a250f389352380749b0e0089ddb4f2a94fa444 100644 --- a/demo/terraform/vms.tf +++ b/demo/terraform/vms.tf @@ -247,8 +247,8 @@ volumes="${join("\n", [for n, d in zipmap(tolist(local.nodes[*].name), tolist(op volume=$(echo "$volumes" | grep "$(hostname):") device=$(echo "$volume" | cut -d: -f2) if ! dumpe2fs -h "$device" >/dev/null 2>&1; then - mkfs.ext4 -L DOCKER "$device" - grep -q 'LABEL=DOCKER' /etc/fstab || /bin/echo -e "LABEL=DOCKER\t/scratch\text4\tdefaults\t0\t0" | tee -a /etc/fstab + mkfs.ext4 -L SCRATCH "$device" + grep -q 'LABEL=SCRATCH' /etc/fstab || /bin/echo -e "LABEL=SCRATCH\t/scratch\text4\tdefaults\t0\t0" | tee -a /etc/fstab mkdir -p /scratch 2>/dev/null || true mount -a fi