mirror of
https://github.com/jbowdre/vsphere-k8s.git
synced 2024-11-29 02:12:19 +00:00
Compare commits
No commits in common. "9485894b71562ee8ba81b2f4fad20adc35ab2184" and "c2dc069959ec1c64ed0d70d5aac11f2b2a434ff1" have entirely different histories.
9485894b71
...
c2dc069959
2 changed files with 3 additions and 3 deletions
|
@ -31,7 +31,7 @@ locals {
|
|||
build_tool = "HashiCorp Packer ${packer.version}"
|
||||
build_date = formatdate("YYYY-MM-DD hh:mm ZZZ", timestamp())
|
||||
build_description = "Kubernetes Ubuntu 20.04 Node template\nBuild date: ${local.build_date}\nBuild tool: ${local.build_tool}"
|
||||
shutdown_command = "sudo -S -E shutdown -P now"
|
||||
shutdown_command = "echo '${var.build_password}' | sudo -S -E shutdown -P now"
|
||||
iso_paths = ["[${var.common_iso_datastore}] ${var.iso_path}/${var.iso_file}"]
|
||||
iso_checksum = "${var.iso_checksum_type}:${var.iso_checksum_value}"
|
||||
data_source_content = {
|
||||
|
@ -53,7 +53,7 @@ locals {
|
|||
// BLOCK: source
|
||||
// Defines the builder configuration blocks.
|
||||
|
||||
source "vsphere-iso" "ubuntu-k8s" {
|
||||
source "vsphere-iso" "linux-ubuntu" {
|
||||
|
||||
// vCenter Server Endpoint Settings and Credentials
|
||||
vcenter_server = var.vsphere_endpoint
|
||||
|
@ -154,7 +154,7 @@ source "vsphere-iso" "ubuntu-k8s" {
|
|||
|
||||
build {
|
||||
sources = [
|
||||
"source.vsphere-iso.ubuntu-k8s"
|
||||
"source.vsphere-iso.linux-ubuntu"
|
||||
]
|
||||
|
||||
provisioner "file" {
|
Loading…
Reference in a new issue