forked from timsutton/osx-vm-templates
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdefinition.rb
More file actions
30 lines (30 loc) · 1.13 KB
/
definition.rb
File metadata and controls
30 lines (30 loc) · 1.13 KB
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
Veewee::Definition.declare({
:cpu_count => '1',
:memory_size=> '2048',
:disk_size => '40000',
:disk_format => 'VDI',
:hostiocache => 'off',
# Currently supported os_type_ids: Darwin_10_7, Darwin_10_7_64, Darwin_10_8_64
:os_type_id => 'Darwin_10_8_64',
# iso_file must be the output of the prepare_veewee_iso.sh script included with this template,
# which modifies an installer downloaded from the Mac App Store for a fully-automated install
:iso_file => "%OSX_ISO%",
:iso_download_timeout => "1000",
:boot_wait => "60",
:ssh_login_timeout => "10000",
:ssh_user => "vagrant",
:ssh_password => "vagrant",
:ssh_key => "",
:ssh_host_port => "7222",
:ssh_guest_port => "22",
:sudo_cmd => "echo '%p'|sudo -S sh '%f'",
:shutdown_cmd => "shutdown -h now",
:postinstall_files => [
"vagrant.sh", # Vagrant config (vagrant user, keys)
"vmware.sh", # VMware config
"xcode-cli-tools.sh", # Xcode CLI tools
"chef-omnibus.sh", # Chef Omnibus install
"puppet.sh", # Puppet install from Hashicorp's puppet-boostrap repo
],
:postinstall_timeout => "10000"
})