summaryrefslogtreecommitdiff
path: root/jessie.json
diff options
context:
space:
mode:
authorvarac <varacanero@zeromail.org>2016-01-14 11:47:01 +0100
committervarac <varacanero@zeromail.org>2016-01-14 11:47:01 +0100
commit8d1a090976544ab18ca5af55099b3345f206e826 (patch)
treed2a46e0f131d74ff38079cec7789aea388b49f6e /jessie.json
parent641154a55757c56893a3ae15d95b9ecaf3342675 (diff)
use debian jessie
Diffstat (limited to 'jessie.json')
-rw-r--r--jessie.json73
1 files changed, 73 insertions, 0 deletions
diff --git a/jessie.json b/jessie.json
new file mode 100644
index 0000000..18808e1
--- /dev/null
+++ b/jessie.json
@@ -0,0 +1,73 @@
+{
+ "push": {
+ "name": "",
+ "vcs": true
+ },
+ "variables": {
+ "atlas_username": "{{env `ATLAS_USERNAME`}}",
+ "atlas_name": "{{env `ATLAS_NAME`}}"
+ },
+ "provisioners": [
+ {
+ "type": "shell",
+ "scripts": [
+ "scripts/base.sh",
+ "scripts/virtualbox.sh",
+ "scripts/vagrant.sh",
+ "scripts/dep.sh",
+ "scripts/cleanup.sh",
+ "scripts/zerodisk.sh"
+ ],
+ "override": {
+ "virtualbox-iso": {
+ "execute_command": "echo 'vagrant'|sudo -S bash '{{.Path}}'"
+ }
+ }
+ }
+ ],
+ "builders": [
+ {
+ "type": "virtualbox-iso",
+ "boot_command": [
+ "<esc><esc><enter><wait>",
+ "/install/vmlinuz noapic preseed/url=http://{{ .HTTPIP }}:{{ .HTTPPort }}/preseed.cfg ",
+ "debian-installer=en_US auto locale=en_US kbd-chooser/method=us ",
+ "hostname={{ .Name }} ",
+ "fb=false debconf/frontend=noninteractive ",
+ "keyboard-configuration/modelcode=SKIP keyboard-configuration/layout=USA keyboard-configuration/variant=USA console-setup/ask_detect=false ",
+ "initrd=/install/initrd.gz -- <enter>"
+ ],
+ "headless": true,
+ "boot_wait": "10s",
+ "disk_size": 20480,
+ "guest_os_type": "Debian_64",
+ "http_directory": "http",
+ "iso_checksum": "d393d17ac6b3113c81186e545c416a00f28ed6e05774284bb5e8f0df39fcbcb9",
+ "iso_checksum_type": "sha256",
+ "iso_url": "http://cdimage.debian.org/debian-cd/current/amd64/iso-cd/debian-8.2.0-amd64-netinst.iso",
+ "ssh_username": "vagrant",
+ "ssh_password": "vagrant",
+ "ssh_port": 22,
+ "ssh_wait_timeout": "10000s",
+ "shutdown_command": "echo '/sbin/halt -h -p' > shutdown.sh; echo 'vagrant'|sudo -S bash 'shutdown.sh'",
+ "guest_additions_path": "VBoxGuestAdditions_{{.Version}}.iso",
+ "virtualbox_version_file": ".vbox_version"
+ }
+ ],
+ "post-processors": [
+ [{
+ "type": "vagrant",
+ "keep_input_artifact": false
+ },
+ {
+ "type": "atlas",
+ "only": ["virtualbox-iso"],
+ "artifact": "{{user `atlas_username`}}/{{user `atlas_name`}}",
+ "artifact_type": "vagrant.box",
+ "metadata": {
+ "provider": "virtualbox",
+ "version": "0.0.1"
+ }
+ }]
+ ]
+}