From 15681e1d77b06577fe3dd207487266784c01fdd6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kai=20L=C3=BCke?= Date: Wed, 20 May 2020 19:08:28 +0200 Subject: [PATCH] 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. --- build_library/grub.cfg | 3 +++ 1 file changed, 3 insertions(+) diff --git a/build_library/grub.cfg b/build_library/grub.cfg index 90c7675cb4..a016875262 100644 --- a/build_library/grub.cfg +++ b/build_library/grub.cfg @@ -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 \