mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
34 lines
1014 B
Ruby
34 lines
1014 B
Ruby
Veewee::Definition.declare({
|
|
:cpu_count => '1',
|
|
:memory_size=> '2048',
|
|
:disk_size => '8000', :disk_format => 'VDI', :hostiocache => 'off',
|
|
:os_type_id => 'RedHat6_64',
|
|
:iso_file => "CentOS-6.4-x86_64-minimal.iso",
|
|
:iso_src => "http://centos.mirror.net.in/centos/6.4/isos/x86_64/CentOS-6.4-x86_64-minimal.iso",
|
|
:iso_md5 => "4a5fa01c81cc300f4729136e28ebe600",
|
|
: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 => "root",
|
|
:ssh_password => "password",
|
|
: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",
|
|
"postinstall.sh",
|
|
"install-xs-tools.sh",
|
|
"cleanup.sh",
|
|
"zerodisk.sh"
|
|
],
|
|
:postinstall_timeout => "10000"
|
|
})
|