Housekeeping; Add debugging information
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
ca2d75d18b
commit
fa6f029812
10
.drone.yml
10
.drone.yml
@ -11,6 +11,16 @@ volumes:
|
|||||||
name: flexvolsmb-drone-scratch
|
name: flexvolsmb-drone-scratch
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
|
- name: Debugging information
|
||||||
|
image: bv11-cr01.bessems.eu/library/packer-extended
|
||||||
|
commands:
|
||||||
|
- |
|
||||||
|
set -x
|
||||||
|
|
||||||
|
yamllint --version
|
||||||
|
packer --version
|
||||||
|
pwsh --version
|
||||||
|
ovftool --version
|
||||||
- name: Windows Server 2019
|
- name: Windows Server 2019
|
||||||
image: bv11-cr01.bessems.eu/library/packer-extended
|
image: bv11-cr01.bessems.eu/library/packer-extended
|
||||||
commands:
|
commands:
|
||||||
|
@ -8,16 +8,16 @@ packer {
|
|||||||
}
|
}
|
||||||
|
|
||||||
source "vsphere-iso" "srv2019-t" {
|
source "vsphere-iso" "srv2019-t" {
|
||||||
vcenter_server = "${var.vcenter_server}"
|
vcenter_server = var.vcenter_server
|
||||||
username = "${var.vsphere_username}"
|
username = var.vsphere_username
|
||||||
password = "${var.vsphere_password}"
|
password = var.vsphere_password
|
||||||
insecure_connection = "true"
|
insecure_connection = "true"
|
||||||
|
|
||||||
vm_name = "${var.vm_guestos}-${var.vm_name}-t"
|
vm_name = "${var.vm_guestos}-${var.vm_name}-t"
|
||||||
datacenter = "${var.vsphere_datacenter}"
|
datacenter = var.vsphere_datacenter
|
||||||
host = "${var.vsphere_host}"
|
host = var.vsphere_host
|
||||||
folder = "${var.vsphere_folder}"
|
folder = var.vsphere_folder
|
||||||
datastore = "${var.vsphere_datastore}"
|
datastore = var.vsphere_datastore
|
||||||
|
|
||||||
guest_os_type = "windows9Server64Guest"
|
guest_os_type = "windows9Server64Guest"
|
||||||
|
|
||||||
@ -27,14 +27,14 @@ source "vsphere-iso" "srv2019-t" {
|
|||||||
|
|
||||||
communicator = "winrm"
|
communicator = "winrm"
|
||||||
winrm_username = "administrator"
|
winrm_username = "administrator"
|
||||||
winrm_password = "${var.winrm_password}"
|
winrm_password = var.winrm_password
|
||||||
winrm_timeout = "10m"
|
winrm_timeout = "10m"
|
||||||
|
|
||||||
RAM = 8192
|
RAM = 8192
|
||||||
CPUs = 2
|
CPUs = 2
|
||||||
|
|
||||||
network_adapters {
|
network_adapters {
|
||||||
network = "${var.vsphere_network}"
|
network = var.vsphere_network
|
||||||
network_card = "vmxnet3"
|
network_card = "vmxnet3"
|
||||||
}
|
}
|
||||||
storage {
|
storage {
|
||||||
@ -69,16 +69,16 @@ source "vsphere-iso" "srv2019-t" {
|
|||||||
}
|
}
|
||||||
|
|
||||||
source "vsphere-iso" "srv2019-v" {
|
source "vsphere-iso" "srv2019-v" {
|
||||||
vcenter_server = "${var.vcenter_server}"
|
vcenter_server = var.vcenter_server
|
||||||
username = "${var.vsphere_username}"
|
username = var.vsphere_username
|
||||||
password = "${var.vsphere_password}"
|
password = var.vsphere_password
|
||||||
insecure_connection = "true"
|
insecure_connection = "true"
|
||||||
|
|
||||||
vm_name = "${var.vm_guestos}-${var.vm_name}-v"
|
vm_name = "${var.vm_guestos}-${var.vm_name}-v"
|
||||||
datacenter = "${var.vsphere_datacenter}"
|
datacenter = var.vsphere_datacenter
|
||||||
host = "${var.vsphere_host}"
|
host = var.vsphere_host
|
||||||
folder = "${var.vsphere_folder}"
|
folder = var.vsphere_folder
|
||||||
datastore = "${var.vsphere_datastore}"
|
datastore = var.vsphere_datastore
|
||||||
|
|
||||||
guest_os_type = "windows9Server64Guest"
|
guest_os_type = "windows9Server64Guest"
|
||||||
|
|
||||||
@ -87,7 +87,7 @@ source "vsphere-iso" "srv2019-v" {
|
|||||||
boot_wait = "5m"
|
boot_wait = "5m"
|
||||||
|
|
||||||
communicator = "winrm"
|
communicator = "winrm"
|
||||||
winrm_password = "${var.winrm_password}"
|
winrm_password = var.winrm_password
|
||||||
winrm_timeout = "10m"
|
winrm_timeout = "10m"
|
||||||
winrm_username = "administrator"
|
winrm_username = "administrator"
|
||||||
|
|
||||||
@ -95,7 +95,7 @@ source "vsphere-iso" "srv2019-v" {
|
|||||||
CPUs = 2
|
CPUs = 2
|
||||||
|
|
||||||
network_adapters {
|
network_adapters {
|
||||||
network = "${var.vsphere_network}"
|
network = var.vsphere_network
|
||||||
network_card = "vmxnet3"
|
network_card = "vmxnet3"
|
||||||
}
|
}
|
||||||
storage {
|
storage {
|
||||||
@ -183,17 +183,17 @@ build {
|
|||||||
post-processor "vsphere" {
|
post-processor "vsphere" {
|
||||||
only = ["srv2019-t"]
|
only = ["srv2019-t"]
|
||||||
|
|
||||||
host = "${var.vcenter_server}"
|
host = var.vcenter_server
|
||||||
username = "${var.vsphere_username}"
|
username = var.vsphere_username
|
||||||
password = "${var.vsphere_password}"
|
password = var.vsphere_password
|
||||||
insecure = true
|
insecure = true
|
||||||
|
|
||||||
vm_name = "Windows-Server-2019-LTSC"
|
vm_name = "Windows-Server-2019-LTSC"
|
||||||
datacenter = "${var.vsphere_datacenter}"
|
datacenter = var.vsphere_datacenter
|
||||||
cluster = "${var.vsphere_host}"
|
cluster = var.vsphere_host
|
||||||
vm_folder = "${var.vsphere_templatefolder}"
|
vm_folder = var.vsphere_templatefolder
|
||||||
vm_network = "${var.vsphere_network}"
|
vm_network = var.vsphere_network
|
||||||
datastore = "${var.vsphere_datastore}"
|
datastore = var.vsphere_datastore
|
||||||
disk_mode = "thin"
|
disk_mode = "thin"
|
||||||
|
|
||||||
keep_input_artifact = true
|
keep_input_artifact = true
|
||||||
@ -202,13 +202,13 @@ build {
|
|||||||
post-processor "vsphere-template" {
|
post-processor "vsphere-template" {
|
||||||
only = ["srv2019-t"]
|
only = ["srv2019-t"]
|
||||||
|
|
||||||
host = "${var.vcenter_server}"
|
host = var.vcenter_server
|
||||||
username = "${var.vsphere_username}"
|
username = var.vsphere_username
|
||||||
password = "${var.vsphere_password}"
|
password = var.vsphere_password
|
||||||
insecure = true
|
insecure = true
|
||||||
|
|
||||||
datacenter = "${var.vsphere_datacenter}"
|
datacenter = var.vsphere_datacenter
|
||||||
folder = "${var.vsphere_templatefolder}"
|
folder = var.vsphere_templatefolder
|
||||||
|
|
||||||
reregister_vm = false
|
reregister_vm = false
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user