Skip to content
This repository has been archived by the owner on Feb 20, 2023. It is now read-only.

Commit

Permalink
Update FCOS iPXE initrd and kernel arg settings
Browse files Browse the repository at this point in the history
* Add initrd=main kernel argument for UEFI
* Switch to using the coreos.live.rootfs_url kernel argument
instead of passing the rootfs as an appended initrd
* Remove coreos.inst.image_url kernel argument since coreos-installer
now defaults to installing from the embedded live system
* Remove rd.neednet=1 and dhcp=ip kernel args that aren't needed
* Remove serial console kernel args by default (these can be
added via var.kernel_args if needed)

Rel:
* poseidon/matchbox#972 (thank you @bgilbert)
* poseidon/matchbox#978
  • Loading branch information
dghubble committed Aug 21, 2022
1 parent 02c9b3d commit 0b1521d
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions profiles.tf
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,6 @@ resource "matchbox_profile" "flatcar-install" {
"initrd=flatcar_production_pxe_image.cpio.gz",
"flatcar.config.url=${var.matchbox_http_endpoint}/ignition?uuid=$${uuid}&mac=$${mac:hexhyp}",
"flatcar.first_boot=yes",
"console=tty0",
"console=ttyS0",
var.kernel_args,
])

Expand All @@ -42,8 +40,6 @@ resource "matchbox_profile" "cached-flatcar-install" {
"initrd=flatcar_production_pxe_image.cpio.gz",
"flatcar.config.url=${var.matchbox_http_endpoint}/ignition?uuid=$${uuid}&mac=$${mac:hexhyp}",
"flatcar.first_boot=yes",
"console=tty0",
"console=ttyS0",
var.kernel_args,
])

Expand Down

0 comments on commit 0b1521d

Please sign in to comment.