-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathkali-linux-1.0.6-i386.json
119 lines (119 loc) · 3.68 KB
/
kali-linux-1.0.6-i386.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
{
"variables": {
"vm_name": "kali-linux-1.0.6-i386",
"disk_size": 20480,
"iso_checksum": "518aad75c2c5f1c60b2068760712f7e82c02d703",
"iso_checksum_type": "sha1",
"iso_url": "http://cdimage.kali.org/kali-1.0.6/kali-linux-1.0.6-i386.iso",
"box_name" : "kali-linux-1.0.6-i386.box",
"box_desc" : "Kali Linux 1.0.6 32 Bit"
},
"description": "{{user `box_desc`}}",
"builders": [
{
"type": "virtualbox-iso",
"virtualbox_version_file": ".vbox_version",
"guest_os_type": "Debian",
"vm_name": "{{user `vm_name`}}",
"iso_url": "{{user `iso_url`}}",
"iso_checksum": "{{user `iso_checksum`}}",
"iso_checksum_type": "{{user `iso_checksum_type`}}",
"disk_size": "{{user `disk_size`}}",
"vboxmanage": [
[
"modifyvm",
"{{.Name}}",
"--memory",
"512"
],
[
"modifyvm",
"{{.Name}}",
"--cpus",
"1"
]
],
"boot_command": [
"<esc><wait>",
"install preseed/url=http://{{ .HTTPIP }}:{{ .HTTPPort }}/preseed.cfg debian-installer=en_US auto locale=en_US kbd-chooser/method=us <wait>",
"netcfg/get_hostname={{ .Name }} netcfg/get_domain=vagrantup.com fb=false debconf/frontend=noninteractive console-setup/ask_detect=false <wait>",
"console-keymaps-at/keymap=us keyboard-configuration/xkb-keymap=us <wait>",
"<enter><wait>"
],
"boot_wait": "10s",
"guest_additions_path": "VBoxGuestAdditions_{{.Version}}.iso",
"http_directory": "http",
"shutdown_command": "echo 'vagrant' | sudo -S /sbin/shutdown -h 0",
"ssh_password": "vagrant",
"ssh_port": 22,
"ssh_username": "vagrant",
"ssh_wait_timeout": "10000s"
},
{
"type": "qemu",
"vm_name": "{{user `vm_name`}}",
"iso_url": "{{user `iso_url`}}",
"iso_checksum": "{{user `iso_checksum`}}",
"iso_checksum_type": "{{user `iso_checksum_type`}}",
"disk_size": "{{user `disk_size`}}",
"ssh_wait_timeout": "30s",
"shutdown_command": "shutdown -P now",
"disk_size": "{{user `disk_size`}}",
"format": "qcow2",
"headless": false,
"accelerator": "kvm",
"http_directory": "http",
"ssh_username": "vagrant",
"ssh_password": "vagrant",
"net_device": "virtio-net",
"disk_interface": "virtio",
"boot_command": [
"<esc><wait>",
"install <wait>",
"preseed/url=http://{{ .HTTPIP }}:{{ .HTTPPort }}/preseed.cfg <wait>",
"debian-installer=en_US <wait>",
"auto <wait>",
"locale=en_US <wait>",
"kbd-chooser/method=us <wait>",
"netcfg/get_hostname={{ .Name }} <wait>",
"netcfg/get_domain=vagrantup.com <wait>",
"fb=false <wait>",
"debconf/frontend=noninteractive <wait>",
"console-setup/ask_detect=false <wait>",
"console-keymaps-at/keymap=us <wait>",
"keyboard-configuration/xkb-keymap=us <wait>",
"<enter><wait>"
], "qemuargs": [
[ "-m", "512m" ],
[ "--no-acpi", "" ]
]
}
],
"provisioners": [
{
"type": "shell",
"scripts": [
"scripts/base.sh",
"scripts/virtualbox.sh",
"scripts/vagrant.sh",
"scripts/ruby.sh",
"scripts/puppet.sh",
"scripts/chef.sh",
"scripts/cleanup.sh",
"scripts/zerodisk.sh"
],
"pause_before": "10s",
"override": {
"virtualbox-iso": {
"execute_command": "echo 'vagrant'|sudo -S bash '{{.Path}}'"
}
}
}
],
"post-processors": [ {
"type": "vagrant",
"output" : "{{user `box_name`}}",
"only": ["virtualbox-iso"]
}
]
}