Skip to content

Commit

Permalink
Fix disk expand for EL7 race conditions. (#888)
Browse files Browse the repository at this point in the history
  • Loading branch information
Zach Marano authored Apr 20, 2020
1 parent dad8239 commit 84bb53e
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,9 @@ main() {
fi

kmsg "Resizing disk ${rootdev}"
# Reset the counter for failed job starts to prevent overrunning the default
# start burst limits for systemd-fsck-root.service.
systemctl reset-failed

# First, move the secondary GPT to the end.
if ! out=$(sgdisk_fix_gpt "$disk"); then
Expand Down

0 comments on commit 84bb53e

Please sign in to comment.