-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdebian-8-kube-1.17.json
64 lines (54 loc) · 1.97 KB
/
debian-8-kube-1.17.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
53
54
55
56
57
58
59
60
61
62
63
64
{
"builders": [{
"name": "debian-8-kube-1.17",
"vm_name": "debian-8-kube-1.17",
"type": "vmware-iso",
"guest_os_type": "debian8-64",
"output_directory": "debian-8-kube-1.17",
"tools_upload_flavor": "linux",
"headless": true,
"cpus": 4,
"iso_url": "https://cdimage.debian.org/cdimage/archive/8.10.0/amd64/iso-cd/debian-8.10.0-amd64-netinst.iso",
"iso_checksum": "896cc42998edf65f1db4eba83581941fb2a584f2214976432b841af96b17ccda",
"iso_checksum_type": "sha256",
"ssh_username": "nullgrid",
"ssh_password": "nullgrid",
"ssh_timeout": "2h",
"disk_type_id": "thin",
"boot_command": [
"<esc><wait>",
"install ",
"preseed/url=http://nullgrid.s3.amazonaws.com/debian.cfg ",
"debian-installer=en_US auto=true locale=en_US kbd-chooser/method=us ",
"netcfg/get_hostname={{ .Name }} ",
"netcfg/get_domain=nullgrid.net ",
"fb=false debconf/frontend=noninteractive ",
"console-setup/ask_detect=false console-keymaps-at/keymap=us ",
"keyboard-configuration/xkb-keymap=us ",
"<enter>"
],
"shutdown_command": "echo 'shutdown -h now' > shutdown.sh; echo 'nullgrid'|sudo -S sh 'shutdown.sh'",
"remote_type": "esx5",
"remote_host": "{{user `esxi_host`}}",
"remote_datastore": "{{user `esxi_datastore`}}",
"remote_username": "{{user `esxi_username`}}",
"remote_password": "{{user `esxi_password`}}",
"vnc_disable_password": true,
"keep_registered": false,
"format": "ova",
"vmx_data": {
"ethernet0.networkName": "VM Network"
}
}],
"provisioners": [
{
"type": "shell",
"scripts": [
"scripts/open-vm-tools.sh",
"scripts/kubernetes-tools.sh",
"scripts/kubernetes-images.sh"
],
"execute_command": "echo 'nullgrid' | {{ .Vars }} sudo -E -S bash '{{ .Path }}'"
}
]
}