Skip to content

Commit

Permalink
revert: Forcely remove all LVMs on installing rocky
Browse files Browse the repository at this point in the history
  • Loading branch information
HoKim98 committed Sep 20, 2023
1 parent 302fecf commit e4415b9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion templates/kiss/matchbox/boot/rocky9.ks
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ ROOTDEV=""
ROOTSIZE=1000000000
# Remove all LVM partitions
dmsetup remove_all --force
dmsetup remove_all
# /sys/block/*/size is in 512 byte chunks
for DEV in $(lsblk -d | sed 's/^\(nvme[0-9]\+n[0-9]\+\)\?\([sv]d[a-z]\+\)\?.*$/\1\2/g' | xargs); do
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
force: true

- name: Unregister all logical devices
command: dmsetup remove_all --force
command: dmsetup remove_all

- name: Update facts
setup:
Expand Down

0 comments on commit e4415b9

Please sign in to comment.