forked from NOKOV-MOCAP/nokov-vm
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnokovVM_createVM.json
73 lines (72 loc) · 1.76 KB
/
nokovVM_createVM.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
65
66
67
68
69
70
71
72
{
"builders": [
{
"boot_command": [
"<esc><wait>",
"install auto=true priority=critical url=http://{{ .HTTPIP }}:{{ .HTTPPort }}/preseed.cfg ",
"<enter><wait>"
],
"boot_wait": "4s",
"disk_size": "50000",
"format": "ova",
"guest_additions_mode": "disable",
"guest_os_type": "Ubuntu_64",
"hard_drive_interface": "sata",
"http_directory": "http",
"iso_checksum": "md5:e5bf713621b43207dead707396da29f6",
"iso_url": "http://archive.ubuntu.com/ubuntu/dists/focal/main/installer-amd64/current/legacy-images/netboot/mini.iso",
"shutdown_command": "echo {{user `password`}} | sudo -S shutdown -P now",
"ssh_password": "{{user `password`}}",
"ssh_timeout": "10000s",
"ssh_username": "{{user `user`}}",
"type": "virtualbox-iso",
"vboxmanage": [
[
"modifyvm",
"{{.Name}}",
"--memory",
"1024",
"--vram",
"16",
"--mouse",
"usbtablet",
"--rtcuseutc",
"on",
"--audiocodec",
"ad1980",
"--usb",
"on",
"--usbohci",
"on",
"--nestedpaging",
"off"
],
[
"storageattach",
"{{.Name}}",
"--storagectl",
"SATA Controller",
"--port",
"0",
"--nonrotational",
"on",
"--discard",
"on"
]
],
"vboxmanage_post": [
[
"modifyhd",
"output-virtualbox-iso/{{.Name}}.vdi",
"--compact"
]
],
"vm_name": "{{user `vm-name`}}"
}
],
"variables": {
"password": "nokovflie",
"user": "nokov",
"vm-name": "NokovVM"
}
}