Update VIRL images to 16.04.1
[csit.git] / resources / tools / disk-image-builder / ubuntu / listmaker / ubuntu-16.04.1.json
1 {
2   "_c": "Ubuntu 16.04.1 ISO URL at the time of creation of this file (10/2016)",
3   "_c": "was http://releases.ubuntu.com/16.04.1/ubuntu-16.04.1-server-amd64.iso .",
4   "_c": "",
5   "_c": "If and when 16.04.1 becomes superseded, this URL will likely change",
6   "_c": "to:",
7   "_c": "http://old-releases.ubuntu.com/releases/16.04.1/ubuntu-16.04.1-server-amd64.iso",
8   "variables": {
9     "release": null,
10     "outputdir": null,
11     "virl_user": "{{env `VIRL_USER`}}",
12     "virl_password": "{{env `VIRL_PASSWORD`}}"
13   },
14   "builders": [
15     {
16       "name": "{{user `release`}}",
17       "type": "qemu",
18       "iso_url": "http://releases.ubuntu.com/16.04.1/ubuntu-16.04.1-server-amd64.iso",
19       "iso_checksum": "d2d939ca0e65816790375f6826e4032f",
20       "iso_checksum_type": "md5",
21       "ssh_username": "root",
22       "ssh_password": "csit",
23       "shutdown_command": "echo 'packer' | shutdown -P now",
24       "disk_size": "4096",
25       "http_directory": "html",
26       "iso_target_path" : "build/ubuntu-16.04.1-server-amd64.iso",
27       "output_directory": "{{user `outputdir`}}",
28       "headless": "true",
29       "boot_command":
30         [
31           "<enter><wait><f6><esc><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs>",
32           "<bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs>",
33           "<bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs>",
34           "<bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs>",
35           "/install/vmlinuz<wait>",
36           " auto<wait>",
37           " console-setup/ask_detect=false<wait>",
38           " console-setup/layoutcode=us<wait>",
39           " console-setup/modelcode=pc105<wait>",
40           " debconf/frontend=noninteractive<wait>",
41           " debian-installer=en_US<wait>",
42           " fb=false<wait>",
43           " initrd=/install/initrd.gz<wait>",
44           " kbd-chooser/method=us<wait>",
45           " keyboard-configuration/layout=USA<wait>",
46           " keyboard-configuration/variant=USA<wait>",
47           " locale=en_US<wait>",
48           " netcfg/get_domain=vm<wait>",
49           " netcfg/get_hostname=qemu<wait>",
50           " grub-installer/bootdev=/dev/vda<wait>",
51           " noapic<wait>",
52           " preseed/url=http://{{ .HTTPIP }}:{{ .HTTPPort }}/preseed.cfg",
53           " -- <wait>",
54            "<enter><wait>"
55         ]
56     }
57   ],
58   "post-processors": [
59     {
60       "type": "shell-local",
61       "script": "scripts-local/upload-image-to-virl.sh",
62       "keep_input_artifact": true,
63       "environment_vars":
64         [
65           "VIRL_USER={{user `virl_user`}}",
66           "VIRL_PASSWORD={{user `virl_password`}}",
67           "VIRL_IMAGE_SUBTYPE=server",
68           "VIRL_IMAGE_NAME={{user `release`}}"
69         ]
70      }
71   ]
72 }

©2016 FD.io a Linux Foundation Collaborative Project. All Rights Reserved.
Linux Foundation is a registered trademark of The Linux Foundation. Linux is a registered trademark of Linus Torvalds.
Please see our privacy policy and terms of use.