-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdebian-10.2.json
More file actions
76 lines (76 loc) · 2.66 KB
/
debian-10.2.json
File metadata and controls
76 lines (76 loc) · 2.66 KB
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
65
66
67
68
69
70
71
72
73
74
75
76
{
"builders": [
{
"boot_command": [
"<esc><wait>",
"install <wait>",
"auto-install/enable=true <wait>",
"preseed/url=http://{{ .HTTPIP }}:{{ .HTTPPort }}/preseed.cfg <wait>",
"netcfg/get_hostname={{ user `hostname` }} <wait>",
"netcfg/get_domain=test.local <wait>",
"<enter><wait>"
],
"type": "vsphere-iso",
"http_directory": "{{user `http_directory`}}",
"vcenter_server": "{{user `vsphere_host`}}",
"username": "{{user `vsphere_username`}}",
"password": "{{user `vsphere_password`}}",
"insecure_connection": true,
"datacenter": "{{user `vsphere_vm_datacenter`}}",
"cluster": "{{user `vsphere_vm_cluster`}}",
"folder": "{{user `vsphere_vm_folder`}}",
"datastore": "{{user `vsphere_vm_datastore`}}",
"vm_name": "{{ user `vsphere_vm_name` }}",
"vm_version": "{{ user `vsphere_vm_version` }}",
"CPUs": "{{user `cpus`}}",
"RAM": "{{user `memory`}}",
"disk_size": "{{user `disk_size_mb`}}",
"disk_controller_type": "pvscsi",
"network": "{{user `vsphere_vm_network`}}",
"disk_thin_provisioned": true,
"guest_os_type": "debian10_64Guest",
"iso_checksum": "{{user `iso_checksum`}}",
"iso_checksum_type": "{{user `iso_checksum_type`}}",
"iso_urls": [
"{{user `mirror`}}/{{user `mirror_directory`}}/{{user `iso_name`}}"
],
"shutdown_command": "echo 'insecure' | sudo -S /sbin/shutdown -hP now",
"ssh_username": "debian",
"ssh_password": "insecure",
"ssh_port": 22
}
],
"provisioners": [
{
"type": "ansible-local",
"playbook_dir": "provision-ansible",
"playbook_file": "provision-ansible/playbook.yml",
"extra_arguments": [
"-e",
"'ansible_python_interpreter=/usr/bin/python3'"
]
}
],
"variables": {
"mirror": "http://cdimage.debian.org/mirror/cdimage/archive",
"mirror_directory": "10.2.0/amd64/iso-cd",
"iso_checksum": "e43fef979352df15056ac512ad96a07b515cb8789bf0bfd86f99ed0404f885f5",
"iso_checksum_type": "sha256",
"iso_name": "debian-10.2.0-amd64-netinst.iso",
"cpus": "1",
"memory": "1024",
"disk_size_mb": "20480",
"hostname": null,
"http_directory": "{{template_dir}}/http",
"vsphere_host": "Hostname.test.local",
"vsphere_username": "{{env `AD_USERNAME`}}",
"vsphere_password": "{{env `AD_PASSWORD`}}",
"vsphere_vm_datacenter": "NAME",
"vsphere_vm_cluster": "cluster-Name",
"vsphere_vm_datastore": "datastore-Name",
"vsphere_vm_folder": "test",
"vsphere_vm_name": null,
"vsphere_vm_version": "14",
"vsphere_vm_network": "VLANNR"
}
}