-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtemplate.json
More file actions
118 lines (118 loc) · 3.86 KB
/
template.json
File metadata and controls
118 lines (118 loc) · 3.86 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
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
{
"push": {
"name": "dprandzioch/freebsd-10_3-minimal",
"vcs": true
},
"variables": {
"atlas_username": "{{env `ATLAS_USERNAME`}}",
"atlas_name": "{{env `ATLAS_NAME`}}"
},
"provisioners": [
{
"type": "shell",
"scripts": [
"scripts/base.sh"
]
}
],
"builders": [
{
"type": "virtualbox-iso",
"boot_command": [
"<enter><wait>",
"<enter><wait>",
"vagrant<enter><wait>",
"<down><spacebar>",
"<down>",
"<down><spacebar><wait>",
"<enter><wait>",
"<enter><wait>",
"<enter><wait>",
"<enter><wait>",
"<enter><wait>",
"<enter><wait>",
"<enter><wait>",
"<wait10><wait10><wait10>",
"<wait10><wait10><wait10>",
"<wait10><wait10><wait10>",
"vagrant<enter><wait>",
"vagrant<enter><wait>",
"<enter><wait5>",
"<enter><wait5>",
"<enter><wait5>",
"<wait10><wait10>",
"<enter><wait5>",
"<enter><wait5>",
"<wait10><wait10><wait10>",
"<enter><wait5>",
"<right>",
"<enter><wait5>",
"a<enter><wait5>",
"<enter><wait5>",
"<down>",
"<down>",
"<down>",
"<down>",
"<down><spacebar><wait5>",
"<enter><wait5>",
"<enter><wait5>",
"vagrant<enter><wait>",
"Vagrant User<enter><wait>",
"<enter><wait>",
"<enter><wait>",
"wheel<enter><wait>",
"<enter><wait>",
"<enter><wait>",
"<enter><wait>",
"<enter><wait>",
"<enter><wait>",
"<enter><wait>",
"<enter><wait>",
"vagrant<enter><wait>",
"vagrant<enter><wait>",
"<enter><wait>",
"yes<enter><wait>",
"no<enter><wait>",
"<enter><wait5>",
"<left><enter><wait>",
"sed -i -e 's/#PermitRootLogin no/PermitRootLogin yes/' /etc/ssh/sshd_config<enter><wait>",
"chsh -s sh root<enter><wait>",
"exit<enter><wait>",
"<enter>",
"<wait10>",
"<wait10>",
"<wait10>"
],
"headless": false,
"boot_wait": "30s",
"disk_size": 20480,
"guest_os_type": "FreeBSD_64",
"http_directory": "http",
"iso_checksum": "8137966d9b62eb4bf597b047a8a43ae9f9a06f23ab7c812f229d32cbfab5bb0cc27089dcfb5d233e50a18620b75606e31ff01bb3084517746664b3b3c46c9d04",
"iso_checksum_type": "sha512",
"iso_url": "http://ftp.freebsd.org/pub/FreeBSD/releases/ISO-IMAGES/10.3/FreeBSD-10.3-RELEASE-amd64-disc1.iso",
"ssh_username": "root",
"ssh_password": "vagrant",
"ssh_port": 22,
"ssh_wait_timeout": "10000s",
"shutdown_command": "poweroff; poweroff",
"virtualbox_version_file": ".vbox_version"
}
],
"post-processors": [
[{
"type": "vagrant",
"keep_input_artifact": false
},
{
"type": "atlas",
"only": ["virtualbox-iso"],
"artifact": "dprandzioch/freebsd-10_3-minimal",
"artifact_type": "vagrant.box",
"metadata": {
"provider": "virtualbox",
"version": "1.1.0"
}
}]
]
}