forked from bastibl/instant-gnuradio
-
Notifications
You must be signed in to change notification settings - Fork 0
/
base.json
125 lines (125 loc) · 4.01 KB
/
base.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
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
{
"builders": [
{
"type": "virtualbox-iso",
"guest_os_type": "Ubuntu_64",
"iso_url": "http://cdimage.ubuntu.com/releases/18.04/release/ubuntu-18.04.1-server-amd64.iso",
"iso_checksum": "a5b0ea5918f850124f3d72ef4b85bda82f0fcd02ec721be19c1a6952791c8ee8",
"iso_checksum_type": "sha256",
"output_directory": "vms/base",
"vm_name": "instant-gnuradio-base",
"disk_size": "20000",
"headless": "false",
"http_directory": ".",
"guest_additions_mode": "disable",
"boot_wait": "5s",
"boot_command": [
"<esc><wait>",
"<esc><wait>",
"<enter><wait>",
"/install/vmlinuz<wait>",
" initrd=/install/initrd.gz<wait>",
" auto<wait>",
" console-setup/ask_detect=false<wait>",
" console-setup/layoutcode=us<wait>",
" console-setup/modelcode=pc105<wait>",
" debconf/frontend=noninteractive<wait>",
" debian-installer=en_US<wait>",
" fb=false<wait>",
" kbd-chooser/method=us<wait>",
" keyboard-configuration/layout=US<wait>",
" keyboard-configuration/variant=US<wait>",
" locale=en_US<wait>",
" netcfg/get_domain=local<wait>",
" netcfg/get_hostname=flinn<wait>",
" grub-installer/bootdev=/dev/sda<wait>",
" noapic<wait>",
" preseed/url=http://{{ .HTTPIP }}:{{ .HTTPPort }}/preseed.cfg<wait>",
" -- <wait>",
"<enter><wait>"
],
"ssh_timeout": "60m",
"ssh_username": "gnuradio",
"ssh_password": "gnuradio",
"shutdown_command": "sudo systemctl poweroff",
"format": "ova",
"vboxmanage": [
["modifyvm", "{{.Name}}", "--memory", "4096"],
["modifyvm", "{{.Name}}", "--vram", "128"],
["modifyvm", "{{.Name}}", "--cpus", "2"],
["modifyvm", "{{.Name}}", "--natpf1", "guestssh,tcp,127.0.0.1,2222,,22"],
["modifyvm", "{{.Name}}", "--accelerate3d", "on"],
["modifyvm", "{{.Name}}", "--usb", "on"],
["modifyvm", "{{.Name}}", "--usbxhci", "on"],
["modifyvm", "{{.Name}}", "--clipboard", "bidirectional"],
["modifyvm", "{{.Name}}", "--audioout", "on"],
["modifyvm", "{{.Name}}", "--audioin", "on"]
]
}],
"provisioners": [
{
"type": "shell",
"scripts": [
"scripts/init-base.sh"
]
},
{
"type": "file",
"source": "assets/wallpaper.png",
"destination": "Pictures/wallpaper.png"
},
{
"type": "file",
"source": "assets/zshrc",
"destination": ".zshrc"
},
{
"type": "file",
"source": "assets/zshenv",
"destination": ".zshenv"
},
{
"type": "file",
"source": "assets/terminator",
"destination": ".config/terminator/config"
},
{
"type": "file",
"source": "assets/UbuntuMono-Nerd-Font.ttf",
"destination": ".fonts/UbuntuMono-Nerd-Font.ttf"
},
{
"type": "file",
"source": "assets/vimrc",
"destination": ".vimrc"
},
{
"type": "file",
"source": "assets/zenburn.vim",
"destination": ".vim/colors/zenburn.vim"
},
{
"type": "file",
"source": "assets/spacemacs",
"destination": ".spacemacs"
},
{
"type": "file",
"source": "assets/gitconfig",
"destination": ".gitconfig"
},
{
"type": "shell",
"scripts": [
"scripts/setup-base.sh"
]
},
{
"type": "shell",
"scripts": [
"scripts/cleanup.sh"
],
"execute_command": "sudo -E bash '{{.Path}}'"
}
]
}