Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {
- variables: {
- base_image: centos7_base/centos7-base-2829bdc.ovf,
- vm_version: unknown
- },
- builders: [
- {
- vm_name : centos7-customer-{{user `vm_version`}},
- type : virtualbox-ovf,
- source_path : {{user `base_image`}},
- ssh_username : root,
- ssh_password : password,
- ssh_wait_timeout : 600s,
- shutdown_command : shutdown -P now,
- boot_wait : 5s,
- boot_command : [
- <enter><wait>
- ],
- guest_additions_mode: disable,
- headless: true
- }
- ],
- post-processors: [
- {
- type: shell-local,
- script: {{template_dir}}/scripts/vbox_ovf_to_ova.sh,
- environment_vars: [
- OVA_OUTPUT={{template_dir}}/centos7_customer/centos7-customer-{{user `vm_version`}}.ova
- ]
- }
- ]
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement