Skip to content

Instantly share code, notes, and snippets.

@adnams
Created April 15, 2012 12:51
Show Gist options
  • Save adnams/2392631 to your computer and use it in GitHub Desktop.
Save adnams/2392631 to your computer and use it in GitHub Desktop.
Veewee definition for Ubuntu 10.04.4 with UK locale settings
Veewee::Session.declare({
:cpu_count => '1', :memory_size=> '384',
:disk_size => '10140', :disk_format => 'VDI', :hostiocache => 'off',
:os_type_id => 'Ubuntu',
:iso_file => "ubuntu-10.04.4-server-i386.iso",
:iso_src => "http://releases.ubuntu.com/10.04.4/ubuntu-10.04.4-server-i386.iso",
:iso_md5 => "fc08a01e78348e3918180ea91a6883bb",
:iso_download_timeout => "1000",
:boot_wait => "10", :boot_cmd_sequence => [
'<Esc><Esc><Enter>',
'/install/vmlinuz noapic preseed/url=http://%IP%:%PORT%/preseed.cfg ',
'debian-installer=en_GB auto locale=en_GB kbd-chooser/method=gb ',
'hostname=%NAME% ',
'fb=false debconf/frontend=noninteractive ',
'console-setup/ask_detect=false console-setup/modelcode=pc105 console-setup/layoutcode=gb ',
'initrd=/install/initrd.gz -- <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 => "shutdown -P now",
:postinstall_files => [ "postinstall.sh"], :postinstall_timeout => "10000"
})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment