moving forward

This commit is contained in:
2024-10-26 12:37:21 +02:00
parent e154cccee8
commit dfd3ad0022
4 changed files with 44 additions and 90 deletions

View File

@@ -2,21 +2,13 @@
packer {
required_version = ">= 1.7.4"
required_plugins {
windows-update = {
version = "0.14.0"
source = "github.com/rgl/windows-update"
}
amazon = {
source = "github.com/hashicorp/amazon"
version = "~> 1"
}
ansible = {
source = "github.com/hashicorp/ansible"
version = "~> 1"
}
vsphere = {
source = "github.com/hashicorp/vsphere"
proxmox = {
version = "~> 1"
source = "github.com/hashicorp/proxmox"
}
}
}
@@ -24,29 +16,29 @@ packer {
# Variables definition
variable "SCSI_Controller" {
type = string
default = "pvscsi"
}
variable "packer_svr_addr" {
type = string
default = "127.0.0.1"
}
variable "VMNAME" {
variable "vm_name" {
type = string
default = "BMaster-Template"
}
variable "ISODISK" {
type = string
default = ""
}
variable "BOOT_COMMAND" {
variable "ISOHASH" {
type = string
default = "lets boot"
default = ""
}
variable "BOOT_COMMAND" {
type = list(string)
}
variable "kickstart_path" {