Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
create_disk: Explicitly unmount partitions and fsck /boot
For reasons I don't fully understand, trying to use `tune2fs -U random /dev/disk/by-label/boot` fails without this explicit fsck step, even though the filesystem appears cleanly unmounted. This is for coreos/fedora-coreos-config#354 to regenerate the UUID of `/boot` on firstboot. Anyways, explicitly unmounting things seems better than relying on `umount -R` to sort it, and having a `fsck` on `/boot` is cheap.
- Loading branch information