Skip to content
This repository has been archived by the owner on Aug 25, 2021. It is now read-only.

Commit

Permalink
Merge pull request #100 from tuan-hoang1/fix-partlabel
Browse files Browse the repository at this point in the history
ignition: fix correct device path when randomizing UUID
  • Loading branch information
Andrew Jeddeloh authored Aug 22, 2019
2 parents 343b886 + 3a7911b commit 9330616
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dracut/30ignition/module-setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,8 @@ install() {

mkdir -p "$initdir/$systemdsystemunitdir/ignition-complete.target.requires"

# path generated by systemd-escape --path /dev/disk/by-partlabel/root
install_ignition_unit [email protected] 'coreos-gpt-setup@dev-disk-by\x2dpartlabel-root.service'
# path generated by systemd-escape --path /dev/disk/by-label/root
install_ignition_unit [email protected] 'coreos-gpt-setup@dev-disk-by\x2dlabel-root.service'
install_ignition_unit ignition-setup-base.service
install_ignition_unit ignition-setup-user.service
install_ignition_unit ignition-disks.service
Expand Down

0 comments on commit 9330616

Please sign in to comment.