2014-04-17 14:26:40 -06:00

51 lines
1.5 KiB
Ruby

# Copied from the veewee provided template, Debian-7.4.0-amd64-netboot, with modifications added
Veewee::Definition.declare({
:cpu_count => '1',
:memory_size=> '256',
:disk_size => '10140', :disk_format => 'VDI', :hostiocache => 'off',
:os_type_id => 'Debian_64',
:iso_file => "netinstall-hLinux.iso",
:iso_src => "http://hlinux-hrepo.usa.hp.com/hLinuxISO/netinstall-hLinux.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 ',
'kbd-chooser/method=us ',
'netcfg/get_hostname=%NAME% ',
'netcfg/get_domain=vagrantup.com ',
'fb=false ',
'debconf/frontend=noninteractive ',
'console-setup/ask_detect=false ',
'console-keymaps-at/keymap=us ',
'keyboard-configuration/xkb-keymap=us ',
'<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 bash -c 'source /root/.bashrc && bash %f'",
:shutdown_cmd => "halt -p",
:postinstall_files => [
"base.sh",
"vagrant.sh",
"virtualbox.sh",
"ruby.sh",
"chef.sh",
"cleanup.sh",
"zerodisk.sh"
],
:postinstall_timeout => "10000"
})