Переглянути джерело

Fixed some formatting I missed earlier

Tyler Ault 1 рік тому
батько
коміт
f9be148361

+ 2 - 2
packer/proxmox/ubuntu-server-focal-docker/ubuntu-server-focal-docker.pkr.hcl

@@ -12,7 +12,7 @@ variable "proxmox_api_token_id" {
 }
 
 variable "proxmox_api_token_secret" {
-    type = string
+    type      = string
     sensitive = true
 }
 
@@ -139,7 +139,7 @@ build {
 
     # Provisioning the VM Template for Cloud-Init Integration in Proxmox #2
     provisioner "file" {
-        source = "files/99-pve.cfg"
+        source      = "files/99-pve.cfg"
         destination = "/tmp/99-pve.cfg"
     }
 

+ 1 - 1
packer/proxmox/ubuntu-server-focal/ubuntu-server-focal.pkr.hcl

@@ -80,7 +80,7 @@ source "proxmox" "ubuntu-server-focal" {
     } 
 
     # VM Cloud-Init Settings
-    cloud_init = true
+    cloud_init              = true
     cloud_init_storage_pool = ${local.disk_storage}
 
     # PACKER Boot Commands

+ 1 - 1
packer/proxmox/ubuntu-server-jammy-docker/ubuntu-server-jammy-docker.pkr.hcl

@@ -12,7 +12,7 @@ variable "proxmox_api_token_id" {
 }
 
 variable "proxmox_api_token_secret" {
-    type = string
+    type      = string
     sensitive = true
 }
 

+ 3 - 3
packer/proxmox/ubuntu-server-jammy/ubuntu-server-jammy.pkr.hcl

@@ -12,7 +12,7 @@ variable "proxmox_api_token_id" {
 }
 
 variable "proxmox_api_token_secret" {
-    type = string
+    type      = string
     sensitive = true
 }
 
@@ -84,8 +84,8 @@ source "proxmox-iso" "ubuntu-server-jammy" {
     cloud_init_storage_pool = ${local.disk_storage}
 
     # PACKER Boot Commands
-    boot = "c"
-    boot_wait = "5s"
+    boot         = "c"
+    boot_wait    = "5s"
     boot_command = [
         "<esc><wait>",
         "e<wait>",