From 1e27ff69685a1fec1d8925596604117b28bc8ce8 Mon Sep 17 00:00:00 2001 From: Ashley Dumaine Date: Wed, 21 Feb 2024 17:00:26 -0500 Subject: [PATCH] make the LINODE_OS optional --- .../clusterclass/linode-machine-controlplane-template.yaml | 2 +- .../flavors/clusterclass/linode-machine-worker-template.yaml | 2 +- templates/flavors/default/machine-deployment.yaml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/templates/flavors/clusterclass/linode-machine-controlplane-template.yaml b/templates/flavors/clusterclass/linode-machine-controlplane-template.yaml index 10a77dd90..b8061980f 100644 --- a/templates/flavors/clusterclass/linode-machine-controlplane-template.yaml +++ b/templates/flavors/clusterclass/linode-machine-controlplane-template.yaml @@ -5,7 +5,7 @@ metadata: spec: template: spec: - image: ${LINODE_OS} + image: ${LINODE_OS:="linode/ubuntu22.04"} type: ${LINODE_CONTROL_PLANE_MACHINE_TYPE} region: ${LINODE_REGION} # uncomment to include your ssh key in linode provisioning diff --git a/templates/flavors/clusterclass/linode-machine-worker-template.yaml b/templates/flavors/clusterclass/linode-machine-worker-template.yaml index c15f16797..682ae9ddf 100644 --- a/templates/flavors/clusterclass/linode-machine-worker-template.yaml +++ b/templates/flavors/clusterclass/linode-machine-worker-template.yaml @@ -5,7 +5,7 @@ metadata: spec: template: spec: - image: ${LINODE_OS} + image: ${LINODE_OS:="linode/ubuntu22.04"} type: ${LINODE_MACHINE_TYPE} region: ${LINODE_REGION} authorizedKeys: diff --git a/templates/flavors/default/machine-deployment.yaml b/templates/flavors/default/machine-deployment.yaml index 10220cbbc..22065cb52 100644 --- a/templates/flavors/default/machine-deployment.yaml +++ b/templates/flavors/default/machine-deployment.yaml @@ -28,7 +28,7 @@ metadata: spec: template: spec: - image: ${LINODE_OS} + image: ${LINODE_OS:="linode/ubuntu22.04"} type: ${LINODE_MACHINE_TYPE} region: ${LINODE_REGION} authorizedKeys: