Add packer hypervisor configuration
Some checks reported errors
continuous-integration/drone/push Build encountered an error

This commit is contained in:
Danny Bessems 2023-02-22 22:02:32 +01:00
parent d4b3abc538
commit 210ed7ba56
2 changed files with 16 additions and 9 deletions

View File

@ -28,9 +28,15 @@ steps:
apt-get install -y \ apt-get install -y \
curl \ curl \
make make
- |
jq '.password="$${VSPHERE_PASSWORD}"' ./packer/ova/vsphere.json > ./packer/ova/vsphere.json
- |
make deps-ova
- | - |
make build-node-ova-vsphere-ubuntu-2204 make build-node-ova-vsphere-ubuntu-2204
environment:
VSPHERE_PASSWORD:
from_secret: vsphere_password
volumes: volumes:
- name: output - name: output
path: /output path: /output

View File

@ -1,16 +1,17 @@
{ {
"cluster": "", "cluster": "Cluster.01",
"host": "bv11-esx02.bessems.lan",
"convert_to_template": "false", "convert_to_template": "false",
"create_snapshot": "true", "create_snapshot": "true",
"datacenter": "", "datacenter": "DeSchakel",
"datastore": "", "datastore": "ESX02.SSD02",
"folder": "", "folder": "/Packer",
"insecure_connection": "false", "insecure_connection": "true",
"linked_clone": "true", "linked_clone": "true",
"network": "", "network": "LAN",
"password": "", "password": "",
"resource_pool": "", "resource_pool": "",
"template": "", "template": "",
"username": "", "username": "administrator@vsphere.local",
"vcenter_server": "" "vcenter_server": "bv11-vc.bessems.lan"
} }