Skip to content

Commit

Permalink
Updated the partition detail in growing partitions step
Browse files Browse the repository at this point in the history
  • Loading branch information
KeerthanaAP committed May 30, 2024
1 parent 21ff2d6 commit c325a2b
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions cmd/image/qcow2ova/prep/templates.go
Original file line number Diff line number Diff line change
Expand Up @@ -157,11 +157,13 @@ write_files:
set -e
for i in /dev/sd[a-z]; do
partprobe $i || true
growpart $i 2 || true
part=$(partprobe -s $i | awk '{print $NF}')
growpart $i $part || true
done
for i in /dev/mapper/mpath[a-z]; do
partprobe $i || true
growpart $i 2 || true
part=$(partprobe -s $i | awk '{print $NF}')
growpart $i $part || true
done
runcmd:
Expand Down

0 comments on commit c325a2b

Please sign in to comment.