templates/CentOS-6.0-i386/definition.rb in veewee-0.3.0.beta1 vs templates/CentOS-6.0-i386/definition.rb in veewee-0.3.0.beta2
- old
+ new
@@ -1,19 +1,40 @@
-Veewee::Definition.declare({
- :cpu_count => '1', :memory_size=> '384',
- :disk_size => '10140', :disk_format => 'VDI', :hostiocache => 'off',
- :os_type_id => 'RedHat',
+Veewee::Session.declare({
+ :cpu_count => '1',
+ :memory_size=> '480',
+ :disk_size => '10140',
+ :disk_format => 'VDI',
+ :hostiocache => 'off',
+ :os_type_id => 'RedHat_64',
:iso_file => "CentOS-6.0-i386-bin-DVD.iso",
:iso_src => "http://vault.centos.org/6.0/isos/i386/CentOS-6.0-i386-bin-DVD.iso",
- :iso_md5 => "d7e57d6edaca1556d5bad2fa88602309", :iso_download_timeout => 1000,
- :iso_download_instructions => "We can not download the ISO , you need to download it yourself and put it in the iso directory\n"+
- "- URL: http://isoredirect.centos.org/centos/6/isos/i386/",
- :boot_wait => "10", :boot_cmd_sequence => [
+ :iso_md5 => "d7e57d6edaca1556d5bad2fa88602309",
+ :iso_download_timeout => 1000,
+ :boot_wait => "10",
+ :boot_cmd_sequence => [
'<Tab> text ks=http://%IP%:%PORT%/ks.cfg<Enter>'
],
- :kickstart_port => "7122", :kickstart_timeout => 10000, :kickstart_file => "ks.cfg",
- :ssh_login_timeout => "10000", :ssh_user => "vagrant", :ssh_password => "vagrant", :ssh_key => "",
- :ssh_host_port => "7222", :ssh_guest_port => "22",
+ :kickstart_port => "7122",
+ :kickstart_timeout => 10000,
+ :kickstart_file => "ks.cfg",
+ :ssh_login_timeout => "10000",
+ :ssh_user => "veewee",
+ :ssh_password => "veewee",
+ :ssh_key => "",
+ :ssh_host_port => "7222",
+ :ssh_guest_port => "22",
:sudo_cmd => "echo '%p'|sudo -S sh '%f'",
:shutdown_cmd => "/sbin/halt -h -p",
- :postinstall_files => [ "postinstall.sh"], :postinstall_timeout => 10000
+ :postinstall_files => [
+ "base.sh",
+ "ruby.sh",
+ "chef.sh",
+ "puppet.sh",
+ "vagrant.sh",
+ "virtualbox.sh",
+ #"kvm.sh",
+ #"vmfusion.sh",
+ "cleanup.sh",
+ "zerodisk.sh"
+ ],
+ :postinstall_timeout => 10000
})