-
Notifications
You must be signed in to change notification settings - Fork 1
/
openbsd-5.6-amd64.json
144 lines (143 loc) · 5.54 KB
/
openbsd-5.6-amd64.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
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
{
"builders": [
{
"boot_command": [
"S<enter>",
"cat <<INSTALL_CONF >install.conf<enter>",
"System hostname = {{user `hostname`}}<enter>",
"Password for root = vagrant<enter>",
"Do you expect to run the X Window System = no<enter>",
"Setup a user = vagrant<enter>",
"Password for user = vagrant<enter>",
"What timezone are you in = UTC<enter>",
"Location of sets = http<enter>",
"HTTP proxy URL = {{user `http_proxy`}}<enter>",
"HTTP server = {{user `mirror_server`}}<enter>",
"Server directory = {{user `mirror_directory`}}<enter>",
"Set name(s) = -game*.tgz -x*.tgz<enter>",
"INSTALL_CONF<enter>",
"cat <<INSTALL >install.sh<enter>",
"install -af install.conf;<enter>",
"echo '' >>/mnt/etc/sudoers;<enter>",
"echo '# Passwordless sudo for Vagrant user' >>/mnt/etc/sudoers;<enter>",
"echo 'vagrant ALL=(ALL) NOPASSWD: SETENV: ALL' >>/mnt/etc/sudoers;<enter>",
"reboot;<enter>",
"INSTALL<enter>",
"sh -eux install.sh<enter>"
],
"boot_wait": "{{user `guest_boot_wait`}}",
"cpus": "{{user `guest_cpus`}}",
"disk_size": "{{user `guest_disk_size`}}",
"guest_additions_mode": "disable",
"guest_os_type": "OpenBSD_64",
"headless": "{{user `guest_headless`}}",
"iso_checksum": "sha256:{{user `iso_checksum`}}",
"iso_url": "http://{{user `mirror_server`}}/{{user `mirror_directory`}}/{{user `iso_name`}}",
"memory": "{{user `guest_memory`}}",
"output_directory": "packer-{{user `name`}}-virtualbox",
"shutdown_command": "echo 'vagrant'|sudo -S /sbin/halt -p",
"ssh_password": "vagrant",
"ssh_port": 22,
"ssh_timeout": "10000s",
"ssh_username": "vagrant",
"type": "virtualbox-iso",
"virtualbox_version_file": ".vbox_version",
"vm_name": "packer-{{user `name`}}"
},
{
"boot_command": [
"S<enter>",
"cat <<INSTALL_CONF >install.conf<enter>",
"System hostname = {{user `hostname`}}<enter>",
"Password for root = vagrant<enter>",
"Do you expect to run the X Window System = no<enter>",
"Setup a user = vagrant<enter>",
"Password for user = vagrant<enter>",
"What timezone are you in = UTC<enter>",
"Location of sets = http<enter>",
"HTTP proxy URL = {{user `http_proxy`}}<enter>",
"HTTP server = {{user `mirror_server`}}<enter>",
"Server directory = {{user `mirror_directory`}}<enter>",
"Set name(s) = -game*.tgz -x*.tgz<enter>",
"INSTALL_CONF<enter>",
"cat <<INSTALL >install.sh<enter>",
"install -af install.conf;<enter>",
"echo '' >>/mnt/etc/sudoers;<enter>",
"echo '# Passwordless sudo for Vagrant user' >>/mnt/etc/sudoers;<enter>",
"echo 'vagrant ALL=(ALL) NOPASSWD: SETENV: ALL' >>/mnt/etc/sudoers;<enter>",
"reboot;<enter>",
"INSTALL<enter>",
"sh -eux install.sh<enter>"
],
"boot_wait": "{{user `guest_boot_wait`}}",
"cpus": "{{user `guest_cpus`}}",
"disk_size": "{{user `guest_disk_size`}}",
"guest_os_type": "other-64",
"headless": "{{user `guest_headless`}}",
"iso_checksum": "sha256:{{user `iso_checksum`}}",
"iso_url": "http://{{user `mirror_server`}}/{{user `mirror_directory`}}/{{user `iso_name`}}",
"memory": "{{user `guest_memory`}}",
"output_directory": "packer-{{user `name`}}-vmware",
"shutdown_command": "echo 'vagrant'|sudo -S /sbin/halt -p",
"ssh_password": "vagrant",
"ssh_port": 22,
"ssh_timeout": "10000s",
"ssh_username": "vagrant",
"type": "vmware-iso",
"vm_name": "packer-{{user `name`}}",
"vmx_data": {
"cpuid.coresPerSocket": "1"
}
}
],
"min_packer_version": "0.7.0",
"post-processors": [
{
"output": "builds/{{user `user_prefix`}}__{{user `name`}}-{{user `version`}}+{{user `timestamp`}}.git.{{user `git_sha`}}.{{.Provider}}.box",
"type": "vagrant",
"vagrantfile_template": "vagrantfile_templates/openbsd.rb"
}
],
"provisioners": [
{
"environment_vars": [
"ftp_proxy={{user `ftp_proxy`}}",
"HOME_DIR={{user `home_dir`}}",
"http_proxy={{user `http_proxy`}}",
"https_proxy={{user `https_proxy`}}",
"MIRROR=http://{{user `mirror_server`}}/{{user `mirror_directory`}}",
"no_proxy={{user `no_proxy`}}",
"VAGRANT_BOX={{user `user_prefix`}}/{{user `name`}},{{user `version`}}+{{user `timestamp`}}.git.{{user `git_sha`}}"
],
"execute_command": "echo 'vagrant'|{{.Vars}} sudo -S -E sh -eux '{{.Path}}'",
"scripts": [
"scripts/openbsd/nfsd.sh",
"scripts/common/vagrant.sh",
"scripts/common/minimize.sh"
],
"type": "shell"
}
],
"variables": {
"ftp_proxy": "{{env `ftp_proxy`}}",
"git_sha": "unset",
"guest_boot_wait": "20s",
"guest_cpus": "2",
"guest_disk_size": "40960",
"guest_headless": "true",
"guest_memory": "384",
"home_dir": "/home/vagrant",
"hostname": "openbsd-56",
"http_proxy": "{{env `http_proxy`}}",
"https_proxy": "{{env `https_proxy`}}",
"iso_checksum": "99623a7a8c2fd26d8058a6c5b873b4e271ca97a2e8f0897209c53fea0c741b63",
"iso_name": "cd56.iso",
"mirror_directory": "pub/OpenBSD/5.6/amd64",
"mirror_server": "ftp.openbsd.org",
"name": "openbsd-5.6-amd64",
"no_proxy": "{{env `no_proxy`}}",
"timestamp": "{{isotime \"20060102150405\"}}",
"user_prefix": "fnichol",
"version": "1.2.1.dev"
}
}