Merge pull request #68 from flatcar-linux/kai/coreos-first-boot

Support the /boot/coreos/first_boot flag file
This commit is contained in:
Kai Lüke 2020-05-22 15:20:29 +02:00 committed by GitHub
commit 677f141dca
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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 \