-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathslackware64-14.1.json
120 lines (120 loc) · 4.39 KB
/
slackware64-14.1.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
{
"variables": {
"chef_version": "provisionerless",
"mirror": "http://mirrors.slackware.com/slackware/slackware-iso"
},
"provisioners": [
{
"environment_vars": [ "CHEF_VERSION={{user `chef_version`}}" ],
"execute_command": "echo 'vagrant' | {{.Vars}} sudo -S -E sh '{{.Path}}'",
"scripts": [
"scripts/slackware/postinstall.sh"
],
"type": "shell"
}
],
"builders": [
{
"type": "virtualbox-iso",
"boot_command": [
"<enter><wait10><wait10><wait10>",
"<enter><wait>",
"<enter><wait>",
"dhcpcd eth0<enter><wait>",
"wget -O /tmp/install.sh http://{{ .HTTPIP }}:{{ .HTTPPort }}/slackware64-14.1/install.sh && chmod +x /tmp/install.sh && /tmp/install.sh {{ .Name }}<enter><wait>"
],
"boot_wait": "10s",
"disk_size": 10140,
"guest_os_type": "Linux_64",
"http_directory": "http",
"iso_checksum": "d00807a86fad75bc90adf72c52c561202591d6ef",
"iso_checksum_type": "sha1",
"iso_url": "{{user `mirror`}}/slackware64-14.1-iso/slackware64-14.1-install-dvd.iso",
"ssh_username": "vagrant",
"ssh_password": "vagrant",
"ssh_port": 22,
"ssh_wait_timeout": "10000s",
"shutdown_command": "echo 'shutdown -h now' > shutdown.sh; cat 'shutdown.sh' | sudo su -",
"guest_additions_path": "VBoxGuestAdditions_{{.Version}}.iso",
"virtualbox_version_file": ".vbox_version",
"vm_name": "packer-slackware64-14.1",
"output_directory": "packer-slackware64-14.1-virtualbox",
"vboxmanage": [
[ "modifyvm", "{{.Name}}", "--memory", "512" ],
[ "modifyvm", "{{.Name}}", "--cpus", "1" ]
]
},
{
"type": "vmware-iso",
"boot_command": [
"<enter><wait10><wait10><wait10>",
"<enter><wait>",
"<enter><wait>",
"dhcpcd eth0<enter><wait>",
"wget -O /tmp/install.sh http://{{ .HTTPIP }}:{{ .HTTPPort }}/slackware64-14.1/install.sh && chmod +x /tmp/install.sh && /tmp/install.sh {{ .Name }}<enter><wait>" ],
"boot_wait": "10s",
"disk_size": 10140,
"guest_os_type": "linux",
"http_directory": "http",
"iso_checksum": "d00807a86fad75bc90adf72c52c561202591d6ef",
"iso_checksum_type": "sha1",
"iso_url": "{{user `mirror`}}/slackware64-14.1-iso/slackware64-14.1-install-dvd.iso",
"ssh_username": "vagrant",
"ssh_password": "vagrant",
"ssh_port": 22,
"ssh_wait_timeout": "10000s",
"shutdown_command": "echo 'shutdown -h now' > shutdown.sh; cat 'shutdown.sh' | sudo su -",
"vm_name": "packer-slackware64-14.1",
"output_directory": "packer-slackware64-14.1-vmware",
"tools_upload_flavor": "linux",
"vmx_data": {
"memsize": "512",
"numvcpus": "1",
"cpuid.coresPerSocket": "1"
}
},
{
"type": "parallels-iso",
"boot_command": [
"<enter><wait10><wait10><wait10>",
"<enter><wait>",
"<enter><wait>",
"dhcpcd eth0<enter><wait>",
"wget -O /tmp/install.sh http://{{ .HTTPIP }}:{{ .HTTPPort }}/slackware64-14.1/install.sh && chmod +x /tmp/install.sh && /tmp/install.sh {{ .Name }}<enter><wait>" ],
"boot_wait": "10s",
"disk_size": 10140,
"guest_os_type": "linux",
"http_directory": "http",
"iso_checksum": "d00807a86fad75bc90adf72c52c561202591d6ef",
"iso_checksum_type": "sha1",
"iso_url": "{{user `mirror`}}/slackware64-14.1-iso/slackware64-14.1-install-dvd.iso",
"ssh_username": "vagrant",
"ssh_password": "vagrant",
"ssh_port": 22,
"ssh_wait_timeout": "10000s",
"shutdown_command": "echo 'shutdown -h now' > shutdown.sh; cat 'shutdown.sh' | sudo su -",
"parallels_tools_mode": "disable",
"prlctl_version_file": ".prlctl_version",
"vm_name": "packer-slackware64-14.1",
"output_directory": "packer-slackware64-14.1-parallels",
"prlctl": [
[ "set", "{{.Name}}", "--memsize", "512" ],
[ "set", "{{.Name}}", "--cpus", "1" ],
[ "set", "{{.Name}}", "--device-set", "cdrom0", "--iface", "ide" ],
[ "set", "{{.Name}}", "--device-del", "fdd0" ],
[ "set", "{{.Name}}", "--device-del", "parallel0" ]
]
}
],
"post-processors": [
{
"output": "../builds/{{.Provider}}/opscode_slackware64-14.1_chef-{{user `chef_version`}}.box",
"override": {
"parallels": {
"vagrantfile_template": "vagrantfile_templates/parallels/freebsd.rb"
}
},
"type": "vagrant"
}
]
}