summaryrefslogtreecommitdiff
path: root/definitions/wheezy/definition.rb
diff options
context:
space:
mode:
Diffstat (limited to 'definitions/wheezy/definition.rb')
-rw-r--r--definitions/wheezy/definition.rb45
1 files changed, 45 insertions, 0 deletions
diff --git a/definitions/wheezy/definition.rb b/definitions/wheezy/definition.rb
new file mode 100644
index 0000000..e4264fb
--- /dev/null
+++ b/definitions/wheezy/definition.rb
@@ -0,0 +1,45 @@
+Veewee::Definition.declare({
+ :cpu_count => '1',
+ :memory_size=> '256',
+ :disk_size => '10140', :disk_format => 'VDI', :hostiocache => 'on',
+ :os_type_id => 'Debian_64',
+ :iso_file => "debian-7.0.0-amd64-netinst.iso",
+ :iso_src => "http://cdimage.debian.org/cdimage/release/current/amd64/iso-cd/debian-7.4.0-amd64-netinst.iso",
+ :iso_md5 => "e7e9433973f082a297793c3c5010b2c5",
+ :iso_download_timeout => "1000",
+ :boot_wait => "10", :boot_cmd_sequence => [
+ '<Esc>',
+ 'install ',
+ 'preseed/url=http://%IP%:%PORT%/preseed.cfg ',
+ 'debian-installer=en_US ',
+ 'auto ',
+ 'locale=en_US ',
+ 'keyboard-configuration/xkb-keymap=us ',
+ 'netcfg/get_hostname=%NAME% ',
+ 'netcfg/get_domain=vagrantup.com ',
+ 'fb=false ',
+ 'debconf/frontend=noninteractive ',
+ 'console-setup/ask_detect=false ',
+ '<Enter>'
+ ],
+ :kickstart_port => "7122",
+ :kickstart_timeout => "10000",
+ :kickstart_file => "preseed.cfg",
+ :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 => "halt -p",
+ :postinstall_files => [
+ "base.sh",
+ "vagrant.sh",
+ "virtualbox.sh",
+ "cleanup-virtualbox.sh",
+ "cleanup.sh",
+ "zerodisk.sh"
+ ],
+ :postinstall_timeout => "10000"
+})