From 8d1a090976544ab18ca5af55099b3345f206e826 Mon Sep 17 00:00:00 2001 From: varac Date: Thu, 14 Jan 2016 11:47:01 +0100 Subject: use debian jessie --- jessie.json | 73 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 73 insertions(+) create mode 100644 jessie.json (limited to 'jessie.json') 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": [ + "", + "/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 -- " + ], + "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" + } + }] + ] +} -- cgit v1.2.3