mirror of
https://github.com/flatcar/scripts.git
synced 2026-04-20 13:01:55 +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
eeaffa700d
commit
f4aa56a3c8
@ -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