Skip to content

Commit d494249

Browse files
committed
ignition: Add partprobe to initrd
The sgdisk tool does not update the kernel partition table in contrast to other similar tools. Often udev can detect the changes but not always as experienced when adding a new partition on Flatcar's boot disk. Instead of implicitly relying on some other component to re-read the kernel partition table, trigger the re-read with partprobe. This is proposed in coreos/ignition#1717
1 parent 2c0968a commit d494249

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

dracut/30ignition/module-setup.sh

+1
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ install() {
3737
mkswap \
3838
nvme \
3939
sgdisk \
40+
partprobe \
4041
useradd \
4142
userdel \
4243
usermod \

0 commit comments

Comments
 (0)