From e04490b8842f0e6f88a3a32971dc3fd8ff4661e8 Mon Sep 17 00:00:00 2001 From: Marco van Zijl Date: Thu, 8 May 2025 19:10:59 +0200 Subject: [PATCH] Fix: Update readme.md to correct disk patch reference and use variable for disk commands --- readme.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/readme.md b/readme.md index 52d9dbb..00d5aab 100644 --- a/readme.md +++ b/readme.md @@ -86,7 +86,7 @@ talosctl gen config \ --config-patch @patches/cilium.yaml \ --config-patch @patches/scheduling.yaml \ --config-patch @patches/discovery.yaml \ - --config-patch @patches/diskselector.yaml \ + --config-patch @patches/disk.yaml \ --config-patch @patches/vip.yaml \ --config-patch @patches/metrics.yaml \ $CLUSTER_NAME \ @@ -194,8 +194,8 @@ kubectl run -it --rm \ Search for the correct disk with `blkid`, set `DISK=/dev/sdX`, then run (some of) the following commands: ```bash -ceph-volume lvm zap /dev/sdX --destroy -wipefs -a /dev/sdX +ceph-volume lvm zap $DISK --destroy +wipefs -a $DISK # Zap the disk to a fresh, usable state (zap-all is important, b/c MBR has to be clean) sgdisk --zap-all $DISK