Skip to content

Commit

Permalink
added checksums and urls for ubuntu templates
Browse files Browse the repository at this point in the history
  • Loading branch information
jedi4ever committed Nov 13, 2010
1 parent 471d987 commit b716803
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 7 deletions.
3 changes: 2 additions & 1 deletion lib/veewee/session.rb
Expand Up @@ -117,8 +117,9 @@ def self.verify_iso(filename)
puts "-md5: #{@definition[:iso_md5]}"
puts ""
puts "type:"
puts "curl '#{@definition[:iso_src]}' -o '#{rel_path}'"
puts "curl -C - -L '#{@definition[:iso_src]}' -o '#{rel_path}'"
puts "md5 '#{rel_path}' "
puts
end
exit
end
Expand Down
8 changes: 5 additions & 3 deletions templates/ubuntu-10.04.1-server-i386/definition.rb
Expand Up @@ -2,7 +2,9 @@
:cpu_count => '1', :memory_size=> '256',
:disk_size => '10140', :disk_format => 'VDI',:disk_size => '10240' ,
:os_type_id => 'Ubuntu',
:iso_file => "ubuntu-10.04.1-server-i386.iso", :iso_src => "", :iso_md5 => "",
:iso_file => "ubuntu-10.04.1-server-i386.iso",
:iso_src => "http://releases.ubuntu.com/10.04.1/ubuntu-10.04.1-server-i386.iso",
:iso_md5 => "01f72c846845e4e19aec8a45912e5dda",
:iso_download_timeout => "1000",
:boot_wait => "10",:boot_cmd_sequence => [
'<Esc><Esc><Enter>',
Expand All @@ -16,8 +18,8 @@
: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 => "2222", :ssh_guest_port => "22",
:sudo_cmd="echo %p|sudo -S sh %f",
:shutdown_cmd="shutdown -H",
:sudo_cmd => "echo %p|sudo -S sh %f",
:shutdown_cmd => "shutdown -H",
:postinstall_files => [ "postinstall.sh"],:postinstall_timeout => "10000"
}
)
8 changes: 5 additions & 3 deletions templates/ubuntu-10.10-server-i386/definition.rb
Expand Up @@ -2,7 +2,9 @@
:cpu_count => '1', :memory_size=> '256',
:disk_size => '10140', :disk_format => 'VDI',:disk_size => '10240' ,
:os_type_id => 'Ubuntu',
:iso_file => "ubuntu-10.10-server-i386.iso", :iso_src => "", :iso_md5 => "",
:iso_file => "ubuntu-10.10-server-i386.iso",
:iso_src => "http://releases.ubuntu.com/maverick/ubuntu-10.10-server-i386.iso",
:iso_md5 => "ce1cee108de737d7492e37069eed538e",
:iso_download_timeout => "1000",
:boot_wait => "10",:boot_cmd_sequence => [
'<Esc><Esc><Enter>',
Expand All @@ -16,8 +18,8 @@
: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 => "2222", :ssh_guest_port => "22",
:sudo_cmd="echo %p|sudo -S sh %f",
:shutdown_cmd="shutdown -H",
:sudo_cmd => "echo %p|sudo -S sh %f",
:shutdown_cmd => "shutdown -H",
:postinstall_files => [ "postinstall.sh"],:postinstall_timeout => "10000"
}
)

0 comments on commit b716803

Please sign in to comment.