Advertisement
Guest User

Untitled

a guest
Oct 20th, 2018
103
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.93 KB | None | 0 0
  1. PACKER_LOG=1 /usr/local/bin/packer build /tmp/config.json
  2.  
  3. 2018/10/20 22:17:14 [INFO] Packer version: 1.3.1
  4. 2018/10/20 22:17:14 Packer Target OS/Arch: linux amd64
  5. 2018/10/20 22:17:14 Built with Go Version: go1.11
  6. 2018/10/20 22:17:14 Detected home directory from env var: /root
  7. Failed to parse template: Error parsing JSON: unexpected end of JSON input
  8. At line 1, column 0 (offset 0):
  9. 1:
  10. ^
  11.  
  12. Json :
  13.  
  14. {
  15. "builders": [{
  16. "type": "qemu",
  17. "iso_url": "/vp-image-iso/debian_base.iso",
  18. "iso_checksum": "XXXXXX",
  19. "ssh_username": "root",
  20. "ssh_password": "password",
  21. "iso_checksum_type": "md5",
  22. "output_directory": "mariadb_image",
  23. "headless": true,
  24. "vm_name": "mariadb"
  25. }],
  26. "provisioners": [{
  27. "type": "shell",
  28. "inline": "/tmp/install_ansible.sh"
  29. },
  30. {
  31. "type": "ansible-local",
  32. "playbook_file": "/tmp/ansible/local.yml"
  33. }]
  34. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement