Advertisement
Guest User

Untitled

a guest
May 24th, 2016
65
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.90 KB | None | 0 0
  1. {
  2. variables: {
  3. base_image: centos7_base/centos7-base-2829bdc.ovf,
  4. vm_version: unknown
  5. },
  6. builders: [
  7. {
  8. vm_name : centos7-customer-{{user `vm_version`}},
  9. type : virtualbox-ovf,
  10. source_path : {{user `base_image`}},
  11. ssh_username : root,
  12. ssh_password : password,
  13. ssh_wait_timeout : 600s,
  14. shutdown_command : shutdown -P now,
  15. boot_wait : 5s,
  16. boot_command : [
  17. <enter><wait>
  18. ],
  19. guest_additions_mode: disable,
  20. headless: true
  21. }
  22. ],
  23. post-processors: [
  24. {
  25. type: shell-local,
  26. script: {{template_dir}}/scripts/vbox_ovf_to_ova.sh,
  27. environment_vars: [
  28. OVA_OUTPUT={{template_dir}}/centos7_customer/centos7-customer-{{user `vm_version`}}.ova
  29. ]
  30. }
  31. ]
  32. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement