-
Notifications
You must be signed in to change notification settings - Fork 0
/
vmware.json
76 lines (75 loc) · 1.8 KB
/
vmware.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
{
"builders": [
{
"boot_command": [
"gentoo-nofb",
"<enter>",
"<wait10>",
"<enter>",
"<wait10>",
"<wait10>",
"<wait10>",
"<wait10>",
"<wait10>",
"passwd {{user `username`}}",
"<enter>",
"<wait>",
"{{user `password`}}",
"<enter>",
"<wait>",
"{{user `password`}}",
"<enter>",
"<wait>",
"/etc/init.d/sshd start",
"<enter>",
"<wait>"
],
"boot_wait": "5s",
"disk_size": 60000,
"guest_os_type": "linux",
"headless": true,
"iso_checksum": "20dc09c811940c8742a9d1c7fa6da7cf8eaecf6c24797c67a00ba3d36e80d66f3d2555c6dbe9be303c0304cbdf51eaaca2deda8f523872912f58119663b4ffc5",
"iso_checksum_type": "sha512",
"iso_url": "http://distfiles.gentoo.org/releases/amd64/autobuilds/{{user `stage3`}}/install-amd64-minimal-{{user `stage3`}}.iso",
"shutdown_command": "shutdown -hP now",
"ssh_password": "{{user `password`}}",
"ssh_username": "{{user `username`}}",
"ssh_wait_timeout": "20s",
"type": "vmware-iso",
"vm_name": "Gentoo",
"vmx_data": {
"memsize": "1024"
}
}
],
"description": "Faithful Stage 3 Gentoo Installation (VMWare)",
"post-processors": [
{
"output": "gentoo-amd64-stage3-vmware.box",
"type": "vagrant"
}
],
"provisioners": [
{
"destination": "/tmp",
"source": "scripts",
"type": "file"
},
{
"environment_vars": [
"STAGE3={{user `stage3`}}",
"VM_TYPE=vmware",
"SCRIPTS=/tmp"
],
"scripts": [
"provision.sh"
],
"type": "shell"
}
],
"variables": {
"password": "packer",
"stage3": "20141002",
"username": "root"
}
}