diff --git a/k3s.pkr.hcl b/k3s.pkr.hcl index e2d34c2..e9391e3 100644 --- a/k3s.pkr.hcl +++ b/k3s.pkr.hcl @@ -33,9 +33,10 @@ source "googlecompute" "k3s" { image_family = regex_replace("k3s-${regex_replace(var.k3s_version, "\\+.*$", "")}", "[^a-zA-Z0-9_-]", "-") image_name = regex_replace("k3s-${var.k3s_version}-${uuidv4()}", "[^a-zA-Z0-9_-]", "-") - source_image_family = "ubuntu-2204-lts" - machine_type = "n1-standard-4" - disk_size = 20 + source_image_family = "ubuntu-2204-lts" + machine_type = "n1-standard-4" + disk_size = 20 + disable_default_service_account = true ssh_username = "root" }