From fa120a3bad2a8b664f4aa9566f045e8b441a9652 Mon Sep 17 00:00:00 2001 From: cringdahl Date: Sat, 7 Dec 2024 13:04:48 -0600 Subject: [PATCH 1/2] Update config.ign to 3.3.0 --- .../installing/bare-metal/raspberry-pi.md | 28 ++++--------------- 1 file changed, 5 insertions(+), 23 deletions(-) diff --git a/content/docs/latest/installing/bare-metal/raspberry-pi.md b/content/docs/latest/installing/bare-metal/raspberry-pi.md index 504a92f2..42a0571e 100644 --- a/content/docs/latest/installing/bare-metal/raspberry-pi.md +++ b/content/docs/latest/installing/bare-metal/raspberry-pi.md @@ -124,14 +124,8 @@ The options that we will be using with the scripts are: ```json { "ignition": { - "config": {}, - "security": { - "tls": {} - }, - "timeouts": {}, - "version": "2.3.0" + "version": "3.3.0" }, - "networkd": {}, "passwd": { "users": [ { @@ -145,27 +139,15 @@ The options that we will be using with the scripts are: "storage": { "files": [ { - "filesystem": "OEM", - "path": "/grub.cfg", - "append": true, + "path": "/oem/grub.cfg", "contents": { - "source": "data:,set%20linux_console%3D%22console%3DttyAMA0%2C115200n8%20console%3Dtty1%22%0Aset%20linux_append%3D%22flatcar.autologin%20usbcore.autosuspend%3D-1%22%0A", - "verification": {} + "compression": "", + "source": "data:,set%20linux_console%3D%22console%3DttyAMA0%2C115200n8%20console%3Dtty1%22%0Aset%20linux_append%3D%22flatcar.autologin%20usbcore.autosuspend%3D-1%22%0A" }, "mode": 420 } - ], - "filesystems": [ - { - "mount": { - "device": "/dev/disk/by-label/OEM", - "format": "btrfs" - }, - "name": "OEM" - } ] - }, - "systemd": {} + } } ``` From bdd1ee708f4b5a1f05250480bc317b3d9b834fc6 Mon Sep 17 00:00:00 2001 From: cringdahl Date: Wed, 18 Dec 2024 16:08:30 -0600 Subject: [PATCH 2/2] Using 'kernelArguments' instead of /oem/grub.cfg --- .../installing/bare-metal/raspberry-pi.md | 22 ++++++++----------- 1 file changed, 9 insertions(+), 13 deletions(-) diff --git a/content/docs/latest/installing/bare-metal/raspberry-pi.md b/content/docs/latest/installing/bare-metal/raspberry-pi.md index 42a0571e..a7201d01 100644 --- a/content/docs/latest/installing/bare-metal/raspberry-pi.md +++ b/content/docs/latest/installing/bare-metal/raspberry-pi.md @@ -124,8 +124,16 @@ The options that we will be using with the scripts are: ```json { "ignition": { - "version": "3.3.0" + "version": "3.4.0" }, + "kernelArguments": { + "shouldExist": [ + "console=ttyAMA0,115200n8", + "console=tty1", + "flatcar.autologin", + "usbcore.autosuspend=-1" + ] + } "passwd": { "users": [ { @@ -135,18 +143,6 @@ The options that we will be using with the scripts are: ] } ] - }, - "storage": { - "files": [ - { - "path": "/oem/grub.cfg", - "contents": { - "compression": "", - "source": "data:,set%20linux_console%3D%22console%3DttyAMA0%2C115200n8%20console%3Dtty1%22%0Aset%20linux_append%3D%22flatcar.autologin%20usbcore.autosuspend%3D-1%22%0A" - }, - "mode": 420 - } - ] } } ```