vagrant-glibc64.json 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. {
  2. "variables": {
  3. "version": "{{env `RELEASE`}}"
  4. },
  5. "builders": [
  6. {
  7. "type": "virtualbox-iso",
  8. "vboxmanage": [
  9. ["modifyvm", "{{.Name}}", "--nictype1", "virtio"]
  10. ],
  11. "iso_url": "https://alpha.de.repo.voidlinux.org/live/20190217/void-live-x86_64-20190217.iso",
  12. "iso_checksum": "b6884f6ea435e242c29a5778ced7a1ce187cef2f07eb9543765064a1256030e9",
  13. "iso_checksum_type": "sha256",
  14. "boot_wait": "5s",
  15. "boot_command": [
  16. "<tab><wait>",
  17. "auto autourl=http://{{ .HTTPIP }}:{{ .HTTPPort }}/autoinstall.cfg",
  18. "<enter>"
  19. ],
  20. "guest_os_type": "Linux_64",
  21. "http_directory": "http",
  22. "shutdown_command": "echo 'vagrant' | sudo -S shutdown -P now",
  23. "ssh_wait_timeout": "20m",
  24. "virtualbox_version_file": ".vbox_version",
  25. "guest_additions_mode": "disable",
  26. "ssh_username": "vagrant",
  27. "ssh_password": "vagrant"
  28. }
  29. ],
  30. "provisioners": [
  31. {
  32. "type": "shell",
  33. "script": "scripts/vagrant.sh",
  34. "execute_command": "echo 'vagrant' | {{.Vars}} sudo -E -S bash '{{.Path}}'"
  35. }
  36. ],
  37. "post-processors": [
  38. [
  39. {
  40. "type": "vagrant"
  41. },
  42. {
  43. "type": "vagrant-cloud",
  44. "box_tag": "voidlinux/glibc64",
  45. "version": "{{user `version`}}"
  46. }
  47. ]
  48. ]
  49. }