2017-07-17 07:45:34 +02:00
|
|
|
// 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 = [
|
2017-11-17 08:19:51 +01:00
|
|
|
"initrd=coreos_production_pxe_image.cpio.gz",
|
2017-07-17 07:45:34 +02:00
|
|
|
"coreos.config.url=${var.matchbox_http_endpoint}/ignition?uuid=$${uuid}&mac=$${mac:hexhyp}",
|
|
|
|
"coreos.first_boot=yes",
|
|
|
|
"console=tty0",
|
|
|
|
"console=ttyS0",
|
2017-10-02 18:47:44 +02:00
|
|
|
"${var.kernel_args}",
|
2017-07-17 07:45:34 +02:00
|
|
|
]
|
|
|
|
|
|
|
|
container_linux_config = "${file("${path.module}/cl/bootkube-worker.yaml.tmpl")}"
|
|
|
|
}
|