moving forward

This commit is contained in:
2024-10-20 20:38:22 +02:00
parent 9009a3b57b
commit ac7413ca25
6 changed files with 222 additions and 10 deletions

View File

@@ -0,0 +1,60 @@
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"
version = "~> 1"
}
}
}
# Variables definition
variable "SCSI_Controller" {
type = string
default = "pvscsi"
}
variable "packer_svr_addr" {
type = string
default = "127.0.0.1"
}
variable "VMNAME" {
type = string
default = "BMaster-Template"
}
variable "ISODISK" {
type = string
default = ""
}
variable "BOOT_COMMAND" {
type = string
default = "lets boot"
}
variable "kickstart_path" {
type = string
default = "resp_file/centos"
}
variable "kickstart_file" {
type = string
default = "redhat.kix"
}