-
Notifications
You must be signed in to change notification settings - Fork 0
/
05-atlas.json
74 lines (74 loc) · 1.71 KB
/
05-atlas.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
{
"builders": [
{
"type": "virtualbox-ovf",
"vboxmanage": [
[
"modifyvm",
"{{.Name}}",
"--memory",
"2048"
],
[
"modifyvm",
"{{.Name}}",
"--vram",
"48"
],
[
"modifyvm",
"{{.Name}}",
"--cpus",
"2"
]
],
"source_path": "{{user `source_path`}}",
"headless": "{{ user `headless` }}",
"communicator": "winrm",
"winrm_username": "vagrant",
"winrm_password": "vagrant",
"winrm_timeout": "12h",
"shutdown_command": "C:/Windows/packer/PackerShutdown.bat",
"shutdown_timeout": "1h",
"output_directory": "./output-{{user `os_name`}}-{{user `image_name`}}/",
"vm_name": "{{user `os_name`}}-{{user `image_name`}}",
"guest_additions_mode": "disable"
}
],
"provisioners": [
{
"type": "powershell",
"script": "scripts/save_shutdown_command.ps1"
},
{
"type": "powershell",
"script": "scripts/configure_octopus.ps1"
}
],
"post-processors": [
[
{
"type": "vagrant",
"keep_input_artifact": false,
"output": "{{user `os_name`}}-octopus-wmf5-{{.Provider}}.box",
"vagrantfile_template": "vagrantfile-windows.template"
},
{
"type": "atlas",
"artifact": "jbeaudry/{{user `full_os_name`}}-octopus-wmf5",
"artifact_type": "vagrant.box",
"metadata": {
"provider": "virtualbox"
}
}
]
],
"variables": {
"headless": "true",
"os_name": "",
"source_path": "",
"version": "",
"full_os_name": "",
"image_name": "atlas-upload"
}
}