Skip to content

Commit

Permalink
Merge pull request #623 from KeerthanaAP/disk_space
Browse files Browse the repository at this point in the history
Fix diskspace of /   issue of rhel 9.* images.
  • Loading branch information
ppc64le-cloud-bot authored Jun 7, 2024
2 parents 21ff2d6 + c325a2b commit 68fc5fe
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 68fc5fe

Please sign in to comment.