From 8cefa9cf8ffdc9c942b097e7153969605b456f93 Mon Sep 17 00:00:00 2001 From: Harri Avellan Date: Tue, 5 Mar 2024 08:00:28 +0200 Subject: [PATCH] Update cloud-init.md References to old .Architecture & .Platform template variables should replaced by current ones: .Platform.Arch & .Platform.OS --- content/runner/vm/configuration/cloud-init.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/content/runner/vm/configuration/cloud-init.md b/content/runner/vm/configuration/cloud-init.md index f85258777..4077ce3a4 100644 --- a/content/runner/vm/configuration/cloud-init.md +++ b/content/runner/vm/configuration/cloud-init.md @@ -45,7 +45,7 @@ instances: apt: sources: docker.list: - source: deb [arch={{ .Architecture }}] https://download.docker.com/linux/ubuntu $RELEASE stable + source: deb [arch={{ .Platform.Arch }}] https://download.docker.com/linux/ubuntu $RELEASE stable keyid: 9DC858229FC7DD38854AE2D88D81803C0EBFCD88 packages: - wget @@ -64,7 +64,7 @@ instances: encoding: b64 content: {{ .TLSKey | base64 }} runcmd: - - 'wget "{{ .LiteEnginePath }}/lite-engine-{{ .Platform }}-{{ .Architecture }}" -O /usr/bin/lite-engine' + - 'wget "{{ .LiteEnginePath }}/lite-engine-{{ .Platform.OS }}-{{ .Platform.Arch }}" -O /usr/bin/lite-engine' - 'chmod 777 /usr/bin/lite-engine' - 'touch /root/.env' - 'touch /tmp/magic_lives_here'