mirror of
https://github.com/flatcar/scripts.git
synced 2026-05-04 11:51:14 +02:00
Support the /boot/coreos/first_boot flag file
If a user or old software creates the flag file on the old CoreOS location, nothing would happen. Check the old location, too, so that Ignition is rerun.
This commit is contained in:
parent
e4344bb1af
commit
ebff4d216c
@ -69,6 +69,9 @@ fi
|
||||
if [ -f "($root)/flatcar/first_boot" ]; then
|
||||
set first_boot="flatcar.first_boot=detected"
|
||||
fi
|
||||
if [ -f "($root)/coreos/first_boot" ]; then
|
||||
set first_boot="flatcar.first_boot=detected"
|
||||
fi
|
||||
|
||||
# Determine if the disk GUID needs to be randomized.
|
||||
search --no-floppy --set randomize_disk_guid \
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user