Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
162 lines (161 sloc) 5.03 KB
{
"variables": {
"atlas_token": "{{env `ATLAS_TOKEN`}}",
"release_version": "{{env `ATLAS_BUILD_CONFIGURATION_VERSION`}}"
},
"provisioners": [
{
"type": "shell",
"execute_command": "echo 'vagrant'|sudo -S sh '{{.Path}}'",
"override": {
"virtualbox-iso": {
"scripts": [
"script/vagrant.sh",
"script/ubuntu/base.sh",
"script/bootstrap-puppet.sh",
"script/ubuntu/virtualbox.sh",
"script/puppet-vagrant.sh",
"script/ubuntu/cleanup.sh",
"script/st2cleanup.sh",
"script/zerodisk.sh"
]
},
"vmware-iso": {
"scripts": [
"script/vagrant.sh",
"script/ubuntu/base.sh",
"script/bootstrap-puppet.sh",
"script/ubuntu/vmware.sh",
"script/puppet-vagrant.sh",
"script/ubuntu/cleanup.sh",
"script/st2cleanup.sh",
"script/zerodisk.sh"
]
}
}
}
],
"post-processors": [
[
{
"type": "vagrant",
"keep_input_artifact": false,
"compression_level": 9
},
{
"type": "atlas",
"only": [ "virtualbox-iso" ],
"token": "{{user `atlas_token`}}",
"artifact_type": "vagrant.box",
"artifact": "stackstorm/st2",
"metadata": {
"provider": "virtualbox",
"created_at": "{{timestamp}}",
"version": "{{user `release_version`}}"
}
},
{
"type": "atlas",
"only": [ "vmware-iso" ],
"token": "{{user `atlas_token`}}",
"artifact_type": "vagrant.box",
"artifact": "stackstorm/st2",
"metadata": {
"provider": "vmware_desktop",
"created_at": "{{timestamp}}",
"version": "{{user `release_version`}}"
}
}
]
],
"builders": [
{
"type": "virtualbox-iso",
"boot_command": [
"<esc><wait>",
"<esc><wait>",
"<enter><wait>",
"/install/vmlinuz<wait>",
" auto<wait>",
" console-setup/ask_detect=false<wait>",
" console-setup/layoutcode=us<wait>",
" console-setup/modelcode=pc105<wait>",
" debconf/frontend=noninteractive<wait>",
" debian-installer=en_US<wait>",
" fb=false<wait>",
" initrd=/install/initrd.gz<wait>",
" kbd-chooser/method=us<wait>",
" keyboard-configuration/layout=USA<wait>",
" keyboard-configuration/variant=USA<wait>",
" locale=en_US<wait>",
" netcfg/get_hostname=st2<wait>",
" netcfg/get_domain=stackstorm.dev<wait>",
" noapic<wait>",
" preseed/url=http://{{ .HTTPIP }}:{{ .HTTPPort }}/ubuntu.cfg<wait>",
" -- <wait>",
"<enter><wait>"
],
"boot_wait": "10s",
"disk_size": 40960,
"guest_os_type": "Ubuntu_64",
"http_directory": "http",
"iso_checksum": "9e5fecc94b3925bededed0fdca1bd417",
"iso_checksum_type": "md5",
"iso_url": "http://releases.ubuntu.com/14.04/ubuntu-14.04.3-server-amd64.iso",
"ssh_username": "vagrant",
"ssh_password": "vagrant",
"ssh_port": 22,
"ssh_wait_timeout": "10000s",
"shutdown_command": "echo 'shutdown -P now' > /tmp/shutdown.sh; echo 'vagrant'|sudo -S sh '/tmp/shutdown.sh'",
"vboxmanage": [
[ "modifyvm", "{{.Name}}", "--memory", "1024" ],
[ "modifyvm", "{{.Name}}", "--cpus", "1" ]
]
},
{
"type": "vmware-iso",
"boot_command": [
"<esc><wait>",
"<esc><wait>",
"<enter><wait>",
"/install/vmlinuz<wait>",
" auto<wait>",
" console-setup/ask_detect=false<wait>",
" console-setup/layoutcode=us<wait>",
" console-setup/modelcode=pc105<wait>",
" debconf/frontend=noninteractive<wait>",
" debian-installer=en_US<wait>",
" fb=false<wait>",
" initrd=/install/initrd.gz<wait>",
" kbd-chooser/method=us<wait>",
" keyboard-configuration/layout=USA<wait>",
" keyboard-configuration/variant=USA<wait>",
" locale=en_US<wait>",
" netcfg/get_hostname=st2<wait>",
" netcfg/get_domain=stackstorm.dev<wait>",
" noapic<wait>",
" preseed/url=http://{{ .HTTPIP }}:{{ .HTTPPort }}/ubuntu.cfg<wait>",
" -- <wait>",
"<enter><wait>"
],
"boot_wait": "10s",
"disk_size": 40960,
"guest_os_type": "linux",
"http_directory": "http",
"iso_checksum": "9e5fecc94b3925bededed0fdca1bd417",
"iso_checksum_type": "md5",
"iso_url": "http://releases.ubuntu.com/14.04/ubuntu-14.04.3-server-amd64.iso",
"ssh_username": "vagrant",
"ssh_password": "vagrant",
"ssh_port": 22,
"ssh_wait_timeout": "10000s",
"tools_upload_flavor": "linux",
"shutdown_command": "echo 'shutdown -P now' > /tmp/shutdown.sh; echo 'vagrant'|sudo -S sh '/tmp/shutdown.sh'",
"vmx_data": {
"memsize": "1024",
"numvcpus": "1",
"cpuid.coresPerSocket": "1"
}
}
]
}
You can’t perform that action at this time.