Destroy VM after build;Debug output
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Danny Bessems 2023-02-23 22:22:23 +01:00
parent 1ffdb79f41
commit e220c2bc24
2 changed files with 5 additions and 0 deletions

View File

@ -22,6 +22,8 @@ steps:
image: bv11-cr01.bessems.eu/library/packer-extended image: bv11-cr01.bessems.eu/library/packer-extended
pull: always pull: always
commands: commands:
- |
ls -lash /output
- | - |
apt-get update apt-get update
- | - |
@ -35,6 +37,8 @@ steps:
make deps-ova make deps-ova
- | - |
make build-node-ova-vsphere-ubuntu-2204 make build-node-ova-vsphere-ubuntu-2204
- |
ls -lash /output
environment: environment:
VSPHERE_PASSWORD: VSPHERE_PASSWORD:
from_secret: vsphere_password from_secret: vsphere_password

View File

@ -195,6 +195,7 @@
"cpu_cores": "{{user `cpu_cores`}}", "cpu_cores": "{{user `cpu_cores`}}",
"datacenter": "{{user `datacenter`}}", "datacenter": "{{user `datacenter`}}",
"datastore": "{{user `datastore`}}", "datastore": "{{user `datastore`}}",
"destroy": true,
"disk_controller_type": "{{user `disk_controller_type`}}", "disk_controller_type": "{{user `disk_controller_type`}}",
"export": { "export": {
"force": true, "force": true,