mirror of
https://github.com/puppetmaster/typhoon.git
synced 2024-12-27 21:29:33 +01:00
21 lines
795 B
HCL
21 lines
795 B
HCL
// Container Linux Install profile (from release.core-os.net)
|
|
resource "matchbox_profile" "bootkube-worker-pxe" {
|
|
name = "bootkube-worker-pxe"
|
|
kernel = "http://${var.container_linux_channel}.release.core-os.net/amd64-usr/${var.container_linux_version}/coreos_production_pxe.vmlinuz"
|
|
|
|
initrd = [
|
|
"http://${var.container_linux_channel}.release.core-os.net/amd64-usr/${var.container_linux_version}/coreos_production_pxe_image.cpio.gz",
|
|
]
|
|
|
|
args = [
|
|
"initrd=coreos_production_pxe_image.cpio.gz",
|
|
"coreos.config.url=${var.matchbox_http_endpoint}/ignition?uuid=$${uuid}&mac=$${mac:hexhyp}",
|
|
"coreos.first_boot=yes",
|
|
"console=tty0",
|
|
"console=ttyS0",
|
|
"${var.kernel_args}",
|
|
]
|
|
|
|
container_linux_config = "${file("${path.module}/cl/bootkube-worker.yaml.tmpl")}"
|
|
}
|