From 0f9479c6aa67316ce64de4756038dfa49a321a69 Mon Sep 17 00:00:00 2001 From: mu-ruU1 <83493474+mu-ruU1@users.noreply.github.com> Date: Wed, 27 Mar 2024 23:11:04 +0900 Subject: [PATCH] =?UTF-8?q?optional=20true=E3=81=A7=E8=B5=B7=E5=8B=95?= =?UTF-8?q?=E5=BE=85=E3=81=A1=E3=81=8C=E3=81=AA=E3=81=8F=E3=81=AA=E3=82=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- terraform/bpg/resource.tf | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/terraform/bpg/resource.tf b/terraform/bpg/resource.tf index 4f2e5d4..70fd77c 100644 --- a/terraform/bpg/resource.tf +++ b/terraform/bpg/resource.tf @@ -37,7 +37,14 @@ package_upgrade: true ssh_pwauth: true power_state: mode: reboot - +write_files: + - path: /etc/netplan/90-config.yaml + content: | + network: + ethernets: + eth0: + optional: true + permissions: "0600" EOF file_name = "cloud-config-${each.value.name}.yaml"