Skip to content

Instantly share code, notes, and snippets.

@aberranthacker
Created July 14, 2016 15:13
Show Gist options
  • Select an option

  • Save aberranthacker/74d02967e95a9f7447e0177e8c6fbbdd to your computer and use it in GitHub Desktop.

Select an option

Save aberranthacker/74d02967e95a9f7447e0177e8c6fbbdd to your computer and use it in GitHub Desktop.
{
"builders":
[
{
"type": "qemu",
"iso_url": "http://mirror.yandex.ru/centos/7/isos/x86_64/CentOS-7-x86_64-Minimal-1511.iso",
"iso_checksum": "88c0437f0a14c6e2c94426df9d43cd67",
"iso_checksum_type": "md5",
"output_directory": "output_centos_tdhtest",
"shutdown_command": "sudo shutdown -P now",
"disk_size": 10000,
"format": "qcow2",
"headless": false,
"accelerator": "kvm",
"http_directory": "httpdir",
"http_port_min": 10082,
"http_port_max": 10089,
"ssh_host_port_min": 2222,
"ssh_host_port_max": 2229,
"ssh_username": "vagrant",
"ssh_password": "vagrant",
"ssh_port": 22,
"ssh_wait_timeout": "30m",
"vm_name": "tdhtest",
"vm_name": "tdhtest",
"net_device": "virtio-net",
"disk_interface": "virtio",
"boot_wait": "5s",
"boot_command": [
"<tab> text ks=http://{{ .HTTPIP }}:{{ .HTTPPort }}/ks.cfg<enter><wait>"
]
},
{
"type": "virtualbox-iso",
"iso_url": "http://mirror.yandex.ru/centos/7/isos/x86_64/CentOS-7-x86_64-Minimal-1511.iso",
"iso_checksum": "88c0437f0a14c6e2c94426df9d43cd67",
"iso_checksum_type": "md5",
"guest_os_type": "RedHat_64",
"output_directory": "output_centos_VBtest",
"shutdown_command": "sudo shutdown -P now",
"disk_size": 10000,
"format": "ovf",
"headless": false,
"http_directory": "httpdir",
"http_port_min": 10082,
"http_port_max": 10089,
"ssh_host_port_min": 2222,
"ssh_host_port_max": 2229,
"ssh_username": "vagrant",
"ssh_password": "vagrant",
"ssh_port": 22,
"ssh_wait_timeout": "30m",
"vm_name": "VBhtest",
"boot_wait": "5s",
"boot_command": [
"<tab> text ks=http://{{ .HTTPIP }}:{{ .HTTPPort }}/ks.cfg<enter><wait>"
]
}
],
"provisioners": [
{
"type": "chef-solo",
"cookbook_paths": ["app-rails.cookbook"]
}
],
"post-processors": [
{
"type": "vagrant"
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment