Fix: Update readme.md to correct disk patch reference and use variable for disk commands
This commit is contained in:
parent
14eb8200b0
commit
e04490b884
@ -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
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user