-
Notifications
You must be signed in to change notification settings - Fork 142
/
developer-vmware-x64.json
129 lines (129 loc) · 4.43 KB
/
developer-vmware-x64.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
{
"variables": {
"box_version": "{{env `VERSION`}}"
},
"provisioners": [
{
"type": "shell",
"timeout": "120m",
"scripts": [
"scripts/centos6/yum.sh",
"scripts/centos6/base.sh",
"scripts/centos6/network.sh"
],
"start_retry_timeout": "15m",
"expect_disconnect": "true",
"only": [
"magma-developer-vmware-x64"
]
},
{
"type": "shell",
"timeout": "120m",
"scripts": [
"scripts/centos6/kernel.sh",
"scripts/centos6/vga.sh",
"scripts/centos6/virtualbox.sh",
"scripts/centos6/parallels.sh",
"scripts/centos6/vmware.sh",
"scripts/centos6/qemu.sh",
"scripts/centos6/postfix.sh",
"scripts/centos6/vagrant.sh",
"scripts/centos6/sshd.sh",
"scripts/centos6/randomness.sh",
"scripts/centos6/updatedb.sh",
"scripts/centos6/developer.sh",
"scripts/centos6/tuning.sh",
"scripts/centos6/cleanup.sh"
],
"pause_before": "120s",
"start_retry_timeout": "15m",
"expect_disconnect": "true",
"only": [
"magma-developer-vmware-x64"
]
},
{
"scripts": [
"scripts/common/motd.sh",
"scripts/common/keys.sh",
"scripts/common/machine.sh",
"scripts/common/leases.sh",
"scripts/common/localtime.sh",
"scripts/common/zerodisk.sh",
"scripts/common/lockout.sh"
],
"type": "shell",
"timeout": "120m",
"start_retry_timeout": "15m",
"expect_disconnect": "true"
}
],
"builders": [
{
"type": "vmware-iso",
"name": "magma-developer-vmware-x64",
"vm_name": "magma-developer-vmware-x64",
"vmdk_name": "magma-developer-vmware-x64",
"output_directory": "output/magma-developer-vmware-x64",
"boot_wait": "20s",
"boot_keygroup_interval": "1s",
"boot_command": [
"<tab> biosdevname=0 net.ifnames=0 ks=http://{{ .HTTPIP }}:{{ .HTTPPort }}/magma.centos6.developer.ks<enter><wait>"
],
"disk_size": 131072,
"disk_type_id": "0",
"cpus": 4,
"memory": 4096,
"version": "12",
"vmx_data_post": {
"virtualHW.version": "12",
"cleanShutdown": "TRUE",
"softPowerOff": "FALSE",
"ethernet0.virtualDev": "e1000",
"ethernet0.startConnected": "TRUE",
"ethernet0.wakeonpcktrcv": "false"
},
"guest_os_type": "centos-64",
"http_directory": "http",
"headless": true,
"vnc_disable_password": true,
"vnc_bind_address": "127.0.0.1",
"vmx_remove_ethernet_interfaces": true,
"iso_url": "https://vault.centos.org/6.10/isos/x86_64/CentOS-6.10-x86_64-minimal.iso",
"iso_checksum": "sha256:7c0dee2a0494dabd84809b72ddb4b761f9ef92b78a506aef709b531c54d30770",
"skip_compaction": false,
"ssh_username": "root",
"ssh_password": "magma",
"ssh_port": 22,
"ssh_timeout": "7200s",
"shutdown_command": "sudo -S shutdown -P now",
"tools_upload_flavor": "linux"
}
],
"post-processors": [
[
{
"type": "vagrant",
"compression_level": 9,
"keep_input_artifact": false,
"vagrantfile_template": "tpl/developer.rb",
"output": "output/{{build_name}}-{{user `box_version`}}.box",
"include": [
"tpl/lavabit/info.json"
],
"only": [
"magma-developer-vmware-x64"
]
},
{
"type": "checksum",
"checksum_types": [
"sha256"
],
"keep_input_artifact": false,
"output": "output/{{build_name}}-{{user `box_version`}}.box.sha256"
}
]
]
}