-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathubuntu.json
36 lines (36 loc) · 914 Bytes
/
ubuntu.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
{
"builders":
[
{
"type": "qemu",
"iso_url": "http://cloud-images.ubuntu.com/daily/server/xenial/current/xenial-server-cloudimg-amd64-disk1.img",
"iso_checksum_url": "http://cloud-images.ubuntu.com/daily/server/xenial/current/SHA256SUMS",
"iso_checksum_type": "sha256",
"disk_image": true,
"output_directory": "output",
"disk_size": 3000,
"format": "qcow2",
"disk_compression": true,
"headless": true,
"accelerator": "kvm",
"ssh_username": "ubuntu",
"ssh_password": "ubuntu",
"ssh_port": 22,
"ssh_wait_timeout": "30s",
"vm_name": "ubuntu",
"use_default_display": true,
"qemuargs": [
["-m", "1024M"],
["-fda", "cloudinit/cloud.img"]
]
}
],
"provisioners": [
{
"type": "shell",
"inline": [
"sudo apt-get remove -y cloud-init"
]
}
]
}