diff options
Diffstat (limited to 'packages')
-rwxr-xr-x | packages/gce-disk-expand/src/usr/share/dracut/modules.d/50expand_rootfs/expand_rootfs.sh | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/packages/gce-disk-expand/src/usr/share/dracut/modules.d/50expand_rootfs/expand_rootfs.sh b/packages/gce-disk-expand/src/usr/share/dracut/modules.d/50expand_rootfs/expand_rootfs.sh index 62d7171..f907772 100755 --- a/packages/gce-disk-expand/src/usr/share/dracut/modules.d/50expand_rootfs/expand_rootfs.sh +++ b/packages/gce-disk-expand/src/usr/share/dracut/modules.d/50expand_rootfs/expand_rootfs.sh @@ -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 |