From 6c16b67538fcb46d533ba6f9734e1d231e2c7c80 Mon Sep 17 00:00:00 2001 From: Luca BRUNO Date: Tue, 26 May 2020 09:01:10 +0000 Subject: [PATCH] image: inject firstboot kargs (ignition-network-kcmdline) This updates `image` manifest to capture current firstboot kernel arguments. Those are effectively the same parameters used by GRUB and overridable by coreos-installer, which so far have been hardcoded inside `grub.cfg`. --- image.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/image.yaml b/image.yaml index 3eed6c7c4..37aaedb51 100644 --- a/image.yaml +++ b/image.yaml @@ -9,6 +9,10 @@ extra-kargs: # https://fedoraproject.org/wiki/Changes/CGroupsV2 - systemd.unified_cgroup_hierarchy=0 +# Kernel arguments to be used on first-boot. +ignition-network-kcmdline: + - 'rd.neednet=1' + - 'ip=dhcp,dhcp6' # Optional remote by which to prefix the deployed OSTree ref ostree-remote: fedora