Advertisement
Guest User

Untitled

a guest
Oct 29th, 2014
268
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.16 KB | None | 0 0
  1. {
  2. "builders": [
  3. {
  4. "boot_command": [
  5. "<esc><wait>",
  6. "install",
  7. " auto",
  8. " preseed/url=http://{{ .HTTPIP }}:{{ .HTTPPort }}/vagrant-jessie.txt",
  9. " debian-installer=en_US",
  10. " locale=en_US.UTF-8",
  11. " keymap=dk",
  12. " priority=critical",
  13. " netcfg/get_hostname=vagrant",
  14. " netcfg/get_domain=vagrantup.com ",
  15. "<enter>"
  16. ],
  17. "disk_size": 10140,
  18. "guest_os_type": "debian6-64",
  19. "http_directory": "http",
  20. "iso_checksum": "8a386a16ab2939e00bfd5efa27007216",
  21. "iso_checksum_type": "none",
  22. "iso_url": "http://cdimage.debian.org/cdimage/daily-builds/daily/arch-latest/amd64/iso-cd/debian-testing-amd64-netinst.iso",
  23. "shutdown_command": "echo 'vagrant'|sudo -S shutdown -h now",
  24. "ssh_password": "vagrant",
  25. "ssh_username": "vagrant",
  26. "ssh_wait_timeout": "10000s",
  27. "tools_upload_flavor": "linux",
  28. "tools_upload_path": "/var/tmp/linux.iso",
  29. "type": "vmware-iso",
  30. "vm_name": "debian-jessie",
  31. "vmx_data": {
  32. "cpuid.coresPerSocket": "1",
  33. "memsize": "1024",
  34. "numvcpus": "1"
  35. }
  36. },
  37. {
  38. "boot_command": [
  39. "<esc><wait>",
  40. "install",
  41. " auto",
  42. " preseed/url=http://{{ .HTTPIP }}:{{ .HTTPPort }}/vagrant-jessie.txt",
  43. " debian-installer=en_US",
  44. " locale=en_US.UTF-8",
  45. " keymap=dk",
  46. " netcfg/get_hostname=vagrant",
  47. " netcfg/get_domain=vagrantup.com ",
  48. "<enter>"
  49. ],
  50. "disk_size": 10140,
  51. "guest_additions_path": "/var/tmp/VBoxGuestAdditions_{{.Version}}.iso",
  52. "guest_os_type": "Debian_64",
  53. "http_directory": "http",
  54. "iso_checksum": "8a386a16ab2939e00bfd5efa27007216",
  55. "iso_checksum_type": "md5",
  56. "iso_url": "http://cdimage.debian.org/cdimage/jessie_di_beta_1/amd64/iso-cd/debian-jessie-DI-b1-amd64-netinst.iso",
  57. "shutdown_command": "echo 'vagrant'|sudo -S shutdown -h now",
  58. "ssh_password": "vagrant",
  59. "ssh_username": "vagrant",
  60. "ssh_wait_timeout": "10000s",
  61. "type": "virtualbox-iso",
  62. "vboxmanage": [
  63. [
  64. "modifyvm",
  65. "{{.Name}}",
  66. "--memory",
  67. "1024"
  68. ],
  69. [
  70. "modifyvm",
  71. "{{.Name}}",
  72. "--cpus",
  73. "1"
  74. ]
  75. ],
  76. "virtualbox_version_file": "/var/tmp/.vbox_version",
  77. "vm_name": "debian-jessie"
  78. }
  79. ],
  80. "post-processors": [
  81. {
  82. "keep_input_artifact": false,
  83. "output": "./{{.Provider}}/debian-jessie.box",
  84. "type": "vagrant"
  85. }
  86. ],
  87. "provisioners": [
  88. {
  89. "override": {
  90. "virtualbox-iso": {
  91. "execute_command": "echo 'vagrant'|{{.Vars}} sudo -E -S bash '{{.Path}}'"
  92. },
  93. "vmware-iso": {
  94. "execute_command": "echo 'vagrant'|{{.Vars}} sudo -E -S bash '{{.Path}}'"
  95. }
  96. },
  97. "scripts": [
  98. "script/base.sh",
  99. "script/vagrant.sh",
  100. "script/vmtools.sh",
  101. "script/cleanup.sh",
  102. "script/zerodisk.sh"
  103. ],
  104. "type": "shell"
  105. }
  106. ]
  107. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement