forked from NeCTAR-RC/nectar-images
-
Notifications
You must be signed in to change notification settings - Fork 0
/
ubuntu-14.04-x86_64.json
52 lines (52 loc) · 1.49 KB
/
ubuntu-14.04-x86_64.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
{
"builders": [
{
"type": "qemu",
"name": "ubuntu-14.04-x86_64",
"vm_name": "ubuntu-14.04-x86_64",
"accelerator": "kvm",
"disk_size": 2048,
"format": "raw",
"headless": true,
"http_directory": "http",
"iso_url": "http://mirrors.rc.nectar.org.au/packer-iso/ubuntu-14.04-x86_64-mini.iso",
"iso_checksum": "49c863211e53efe4cf72b2df49099567f6bcad765fe49c0f56bfe05347d8bceb",
"iso_checksum_type": "sha256",
"ssh_password": "b4dP4ssw0Rd",
"ssh_port": 22,
"ssh_username": "root",
"ssh_wait_timeout": "10000s",
"vnc_bind_address": "0.0.0.0",
"qemuargs": [
[ "-m", "2048M" ],
[ "-cpu", "host" ],
[ "-smp", "2" ]
],
"boot_wait": "5s",
"boot_command": [
"<esc><wait> linux vga=788 fb=false ",
"locale=en_AU console-keymaps-at/keymap=us console-setup/ask_detect=false console-setup/layoutcode=us ",
"keyboard-configuration/layout=USA keyboard-configuration/variant=USA hostname=ubuntu ",
"preseed/url=http://{{ .HTTPIP }}:{{ .HTTPPort }}/ubuntu-14.04-x86_64-preseed.cfg ",
"initrd=initrd.gz -- <enter><wait>"
]
}
],
"provisioners": [
{
"type": "shell",
"inline": [
"apt-get -q -y update",
"apt-get -q -y install python-apt"
]
},
{
"type": "ansible",
"playbook_file": "ansible/playbook.yml"
},
{
"type": "shell",
"script": "scripts/cleanup.sh"
}
]
}