veewee 0.4.5.1 → 0.5.0.alpha1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (79) hide show
  1. checksums.yaml +8 -8
  2. data/.gitignore +1 -3
  3. data/.ruby-gemset +1 -0
  4. data/.ruby-version +1 -0
  5. data/doc/basics.md +11 -0
  6. data/lib/veewee/environment.rb +1 -1
  7. data/lib/veewee/provider/core/helper/scancode.rb +11 -7
  8. data/lib/veewee/provider/core/helper/web.rb +60 -60
  9. data/lib/veewee/provider/virtualbox/box/helper/console_type.rb +13 -5
  10. data/lib/veewee/templates.rb +3 -0
  11. data/lib/veewee/version.rb +1 -1
  12. data/templates/archlinux-i386/definition.rb +27 -18
  13. data/templates/archlinux-x86_64/definition.rb +16 -16
  14. data/templates/{openSUSE-11.4-DVD-i586/autoinst_de.xml → openSUSE-11.4/autoinst_32_de.xml} +0 -0
  15. data/templates/{openSUSE-11.4-DVD-i586/autoinst_en.xml → openSUSE-11.4/autoinst_32_en.xml} +0 -0
  16. data/templates/{openSUSE-11.4-DVD-x86_64/autoinst_de.xml → openSUSE-11.4/autoinst_64_de.xml} +0 -0
  17. data/templates/{openSUSE-11.4-DVD-x86_64/autoinst_en.xml → openSUSE-11.4/autoinst_64_en.xml} +0 -0
  18. data/templates/openSUSE-11.4/definition.rb +5 -0
  19. data/templates/openSUSE-11.4/definition.yml +21 -0
  20. data/templates/openSUSE-11.4/definition_32_dvd_de.yml +15 -0
  21. data/templates/openSUSE-11.4/definition_32_dvd_en.yml +15 -0
  22. data/templates/openSUSE-11.4/definition_32_net_de.yml +15 -0
  23. data/templates/openSUSE-11.4/definition_32_net_en.yml +15 -0
  24. data/templates/openSUSE-11.4/definition_64_dvd_de.yml +15 -0
  25. data/templates/openSUSE-11.4/definition_64_dvd_en.yml +15 -0
  26. data/templates/openSUSE-11.4/definition_64_net_de.yml +15 -0
  27. data/templates/openSUSE-11.4/definition_64_net_en.yml +15 -0
  28. data/templates/{openSUSE-11.4-DVD-i586 → openSUSE-11.4}/postinstall.sh +0 -0
  29. data/templates/{openSUSE-12.1-DVD+NET-i586/autoinst_de.xml → openSUSE-12.1/autoinst_32_de.xml} +0 -0
  30. data/templates/{openSUSE-12.1-DVD+NET-i586/autoinst_en.xml → openSUSE-12.1/autoinst_32_en.xml} +0 -0
  31. data/templates/{openSUSE-12.1-DVD+NET-x86_64/autoinst_de.xml → openSUSE-12.1/autoinst_64_de.xml} +0 -0
  32. data/templates/{openSUSE-12.1-DVD+NET-x86_64/autoinst_en.xml → openSUSE-12.1/autoinst_64_en.xml} +0 -0
  33. data/templates/openSUSE-12.1/definition.rb +5 -0
  34. data/templates/openSUSE-12.1/definition.yml +21 -0
  35. data/templates/openSUSE-12.1/opensuse_32_dvd_de.yml +14 -0
  36. data/templates/openSUSE-12.1/opensuse_32_dvd_en.yml +14 -0
  37. data/templates/openSUSE-12.1/opensuse_32_net_de.yml +14 -0
  38. data/templates/openSUSE-12.1/opensuse_32_net_en.yml +14 -0
  39. data/templates/openSUSE-12.1/opensuse_64_dvd_de.yml +14 -0
  40. data/templates/openSUSE-12.1/opensuse_64_dvd_en.yml +14 -0
  41. data/templates/openSUSE-12.1/opensuse_64_net_de.yml +14 -0
  42. data/templates/openSUSE-12.1/opensuse_64_net_en.yml +14 -0
  43. data/templates/{openSUSE-11.4-DVD-x86_64 → openSUSE-12.1}/postinstall.sh +0 -0
  44. data/templates/{openSUSE-12.3-x86_64-NET_EN → openSUSE-12.3}/README.md +0 -0
  45. data/templates/{openSUSE-12.3-x86_64-NET_EN → openSUSE-12.3}/autoinst.xml +0 -0
  46. data/templates/openSUSE-12.3/definition.rb +2 -0
  47. data/templates/openSUSE-12.3/definition.yml +36 -0
  48. data/templates/{openSUSE-12.3-x86_64-NET_EN → openSUSE-12.3}/postinstall.sh +0 -0
  49. data/templates/{openSUSE-12.3-x86_64-NET_EN → openSUSE-12.3}/virtualbox.sh +0 -0
  50. data/templates/openSUSE-13.1/definition.rb +5 -70
  51. data/templates/openSUSE-13.1/definition.yml +24 -0
  52. data/templates/openSUSE-13.1/opensuse_32_dvd.yml +8 -0
  53. data/templates/openSUSE-13.1/opensuse_32_net.yml +9 -0
  54. data/templates/openSUSE-13.1/opensuse_64_dvd.yml +9 -0
  55. data/templates/openSUSE-13.1/opensuse_64_net.yml +10 -0
  56. data/veewee.gemspec +6 -1
  57. metadata +62 -40
  58. data/.rvmrc +0 -6
  59. data/templates/openSUSE-11.4-DVD-i586/definition.rb +0 -28
  60. data/templates/openSUSE-11.4-DVD-x86_64/definition.rb +0 -28
  61. data/templates/openSUSE-11.4-NET-i586/autoinst_de.xml +0 -1278
  62. data/templates/openSUSE-11.4-NET-i586/autoinst_en.xml +0 -1278
  63. data/templates/openSUSE-11.4-NET-i586/definition.rb +0 -28
  64. data/templates/openSUSE-11.4-NET-i586/postinstall.sh +0 -48
  65. data/templates/openSUSE-11.4-NET-x86_64/autoinst_de.xml +0 -1453
  66. data/templates/openSUSE-11.4-NET-x86_64/autoinst_en.xml +0 -1453
  67. data/templates/openSUSE-11.4-NET-x86_64/definition.rb +0 -28
  68. data/templates/openSUSE-11.4-NET-x86_64/postinstall.sh +0 -48
  69. data/templates/openSUSE-12.1-DVD+NET-i586/definition.rb +0 -44
  70. data/templates/openSUSE-12.1-DVD+NET-i586/postinstall.sh +0 -48
  71. data/templates/openSUSE-12.1-DVD+NET-x86_64/definition.rb +0 -44
  72. data/templates/openSUSE-12.1-DVD+NET-x86_64/postinstall.sh +0 -48
  73. data/templates/openSUSE-12.3-x86_64-NET_EN/definition.rb +0 -37
  74. data/templates/opensuse-11.4-i386-experimental/README +0 -11
  75. data/templates/opensuse-11.4-i386-experimental/autoinst.xml +0 -1269
  76. data/templates/opensuse-11.4-i386-experimental/autoinst.xml.generated +0 -1269
  77. data/templates/opensuse-11.4-i386-experimental/autoinst.xml.tweaked +0 -1269
  78. data/templates/opensuse-11.4-i386-experimental/definition.rb +0 -31
  79. data/templates/opensuse-11.4-i386-experimental/postinstall.sh +0 -90
@@ -0,0 +1,5 @@
1
+ #
2
+ # change opensuse_64_dvd_en to one of configurations in *.yml in this directory
3
+ # use the yml files to configure
4
+ #
5
+ Veewee::Definition.declare_yaml('definition.yml', 'opensuse_64_dvd_en.yml')
@@ -0,0 +1,21 @@
1
+ ---
2
+ :cpu_count: '1'
3
+ :memory_size=> '512'
4
+ :disk_size: '20480'
5
+ :disk_format: 'VDI'
6
+ :hostiocache: 'off'
7
+ :iso_download_timeout: "1000"
8
+ :boot_wait: "10"
9
+ :kickstart_port: "7122"
10
+ :kickstart_timeout: "300"
11
+ :ssh_login_timeout: "10000"
12
+ :ssh_user: "vagrant"
13
+ :ssh_password: "vagrant"
14
+ :ssh_key: ""
15
+ :ssh_host_port: "7222"
16
+ :ssh_guest_port: "22"
17
+ :sudo_cmd: "echo '%p'|sudo -S sh '%f'"
18
+ :shutdown_cmd: "shutdown -P now"
19
+ :postinstall_files:
20
+ - "postinstall.sh"
21
+ :postinstall_timeout: "10000"
@@ -0,0 +1,15 @@
1
+ ---
2
+ :os_type_id: 'OpenSUSE'
3
+ :iso_file: "openSUSE-11.4-DVD-i586.iso"
4
+ :iso_src: "http://download.opensuse.org/distribution/11.4/iso/openSUSE-11.4-DVD-i586.iso"
5
+ :iso_md5: "5f6d6d67c3e256b2513311f4ed650515"
6
+ :boot_cmd_sequence:
7
+ '<Esc><Enter>'
8
+ 'linux netdevice=eth0 netsetup=dhcp'
9
+ ' install=cd:/'
10
+ ' lang=de_DE autoyast=http://%IP%:%PORT%/autoinst_32_de.xml'
11
+ ' textmode=1'
12
+ '<Enter>'
13
+ :kickstart_file:
14
+ - "autoinst_32_de.xml"
15
+ - "autoinst_32_de.xml"
@@ -0,0 +1,15 @@
1
+ ---
2
+ :os_type_id: 'OpenSUSE'
3
+ :iso_file: "openSUSE-11.4-DVD-i586.iso"
4
+ :iso_src: "http://download.opensuse.org/distribution/11.4/iso/openSUSE-11.4-DVD-i586.iso"
5
+ :iso_md5: "5f6d6d67c3e256b2513311f4ed650515"
6
+ :boot_cmd_sequence:
7
+ '<Esc><Enter>'
8
+ 'linux netdevice=eth0 netsetup=dhcp'
9
+ ' install=cd:/'
10
+ ' lang=en_US autoyast=http://%IP%:%PORT%/autoinst_32_en.xml'
11
+ ' textmode=1'
12
+ '<Enter>'
13
+ :kickstart_file:
14
+ - "autoinst_32_en.xml"
15
+ - "autoinst_32_en.xml"
@@ -0,0 +1,15 @@
1
+ ---
2
+ :os_type_id: 'OpenSUSE'
3
+ :iso_file: "openSUSE-11.4-NET-i586.iso"
4
+ :iso_src: "http://download.opensuse.org/distribution/11.4/iso/openSUSE-11.4-NET-i586.iso"
5
+ :iso_md5: "a601cd207eb17d7f1b91049e1392a526"
6
+ :boot_cmd_sequence:
7
+ '<Esc><Enter>'
8
+ 'linux netdevice=eth0 netsetup=dhcp'
9
+ ' install=cd:/'
10
+ ' lang=de_DE autoyast=http://%IP%:%PORT%/autoinst_32_de.xml'
11
+ ' textmode=1'
12
+ '<Enter>'
13
+ :kickstart_file:
14
+ - "autoinst_32_de.xml"
15
+ - "autoinst_32_de.xml"
@@ -0,0 +1,15 @@
1
+ ---
2
+ :os_type_id: 'OpenSUSE'
3
+ :iso_file: "openSUSE-11.4-NET-i586.iso"
4
+ :iso_src: "http://download.opensuse.org/distribution/11.4/iso/openSUSE-11.4-NET-i586.iso"
5
+ :iso_md5: "a601cd207eb17d7f1b91049e1392a526"
6
+ :boot_cmd_sequence:
7
+ '<Esc><Enter>'
8
+ 'linux netdevice=eth0 netsetup=dhcp'
9
+ ' install=cd:/'
10
+ ' lang=en_US autoyast=http://%IP%:%PORT%/autoinst_32_en.xml'
11
+ ' textmode=1'
12
+ '<Enter>'
13
+ :kickstart_file:
14
+ - "autoinst_32_en.xml"
15
+ - "autoinst_32_en.xml"
@@ -0,0 +1,15 @@
1
+ ---
2
+ :os_type_id: 'OpenSUSE_64'
3
+ :iso_file: "openSUSE-11.4-DVD-x86_64.iso"
4
+ :iso_src: "http://download.opensuse.org/distribution/11.4/iso/openSUSE-11.4-DVD-x86_64.iso"
5
+ :iso_md5: "082ebfac494b41cd56b38fb4218c545d"
6
+ :boot_cmd_sequence:
7
+ '<Esc><Enter>'
8
+ 'linux netdevice=eth0 netsetup=dhcp'
9
+ ' install=cd:/'
10
+ ' lang=de_DE autoyast=http://%IP%:%PORT%/autoinst_64_de.xml'
11
+ ' textmode=1'
12
+ '<Enter>'
13
+ :kickstart_file:
14
+ - "autoinst_64_de.xml"
15
+ - "autoinst_64_de.xml"
@@ -0,0 +1,15 @@
1
+ ---
2
+ :os_type_id: 'OpenSUSE_64'
3
+ :iso_file: "openSUSE-11.4-DVD-x86_64.iso"
4
+ :iso_src: "http://download.opensuse.org/distribution/11.4/iso/openSUSE-11.4-DVD-x86_64.iso"
5
+ :iso_md5: "082ebfac494b41cd56b38fb4218c545d"
6
+ :boot_cmd_sequence:
7
+ '<Esc><Enter>'
8
+ 'linux netdevice=eth0 netsetup=dhcp'
9
+ ' install=cd:/'
10
+ ' lang=en_US autoyast=http://%IP%:%PORT%/autoinst_64_en.xml'
11
+ ' textmode=1'
12
+ '<Enter>'
13
+ :kickstart_file:
14
+ - "autoinst_64_en.xml"
15
+ - "autoinst_64_en.xml"
@@ -0,0 +1,15 @@
1
+ ---
2
+ :os_type_id: 'OpenSUSE_64'
3
+ :iso_file: "openSUSE-11.4-NET-x86_64.iso"
4
+ :iso_src: "http://download.opensuse.org/distribution/11.4/iso/openSUSE-11.4-NET-x86_64.iso"
5
+ :iso_md5: "bb0dc0124d5d2e3292ec96717132b136"
6
+ :boot_cmd_sequence:
7
+ '<Esc><Enter>'
8
+ 'linux netdevice=eth0 netsetup=dhcp'
9
+ ' install=http://download.opensuse.org/distribution/11.4/repo/oss/ insecure=1'
10
+ ' lang=de_DE autoyast=http://%IP%:%PORT%/autoinst_64_de.xml'
11
+ ' textmode=1'
12
+ '<Enter>'
13
+ :kickstart_file:
14
+ - "autoinst_64_de.xml"
15
+ - "autoinst_64_de.xml"
@@ -0,0 +1,15 @@
1
+ ---
2
+ :os_type_id: 'OpenSUSE_64'
3
+ :iso_file: "openSUSE-11.4-NET-x86_64.iso"
4
+ :iso_src: "http://download.opensuse.org/distribution/11.4/iso/openSUSE-11.4-NET-x86_64.iso"
5
+ :iso_md5: "bb0dc0124d5d2e3292ec96717132b136"
6
+ :boot_cmd_sequence:
7
+ '<Esc><Enter>'
8
+ 'linux netdevice=eth0 netsetup=dhcp'
9
+ ' install=http://download.opensuse.org/distribution/11.4/repo/oss/ insecure=1'
10
+ ' lang=en_US autoyast=http://%IP%:%PORT%/autoinst_64_en.xml'
11
+ ' textmode=1'
12
+ '<Enter>'
13
+ :kickstart_file:
14
+ - "autoinst_64_en.xml"
15
+ - "autoinst_64_en.xml"
@@ -0,0 +1,5 @@
1
+ #
2
+ # change opensuse_64_dvd_en to one of configurations in *.yml in this directory
3
+ # use the yml files to configure
4
+ #
5
+ Veewee::Definition.declare_yaml('definition.yml', 'opensuse_64_dvd_en.yml')
@@ -0,0 +1,21 @@
1
+ ---
2
+ :cpu_count: '1'
3
+ :memory_size: '512'
4
+ :disk_size: '20480'
5
+ :disk_format: 'VDI'
6
+ :hostiocache: 'off'
7
+ :iso_download_timeout: "1000"
8
+ :boot_wait: "10"
9
+ :kickstart_port: "7122"
10
+ :kickstart_timeout: "300"
11
+ :ssh_login_timeout: "10000"
12
+ :ssh_user: "vagrant"
13
+ :ssh_password: "vagrant"
14
+ :ssh_key: ""
15
+ :ssh_host_port: "7222"
16
+ :ssh_guest_port: "22"
17
+ :sudo_cmd: "echo '%p'|sudo -S sh '%f'"
18
+ :shutdown_cmd: "shutdown -P now"
19
+ :postinstall_files:
20
+ - "postinstall.sh"
21
+ :postinstall_timeout: "10000"
@@ -0,0 +1,14 @@
1
+ ---
2
+ :os_type_id: 'OpenSUSE'
3
+ :iso_file: "openSUSE-12.1-DVD-i586.iso"
4
+ :iso_src: "http://download.opensuse.org/distribution/12.1/iso/openSUSE-12.1-DVD-i586.iso"
5
+ :iso_md5: "22b4d6bfdb11f5bdd36a05f9968a780c"
6
+ :boot_cmd_sequence:
7
+ - '<Esc><Enter>'
8
+ - 'linux netdevice=eth0 netsetup=dhcp textmode=1'
9
+ - ' install=cd:/'
10
+ - ' lang=de_DE autoyast=http://%IP%:%PORT%/autoinst_32_de.xml'
11
+ - '<Enter>'
12
+ :kickstart_file:
13
+ - "autoinst_32_de.xml"
14
+ - "autoinst_32_de.xml"
@@ -0,0 +1,14 @@
1
+ ---
2
+ :os_type_id: 'OpenSUSE'
3
+ :iso_file: "openSUSE-12.1-DVD-i586.iso"
4
+ :iso_src: "http://download.opensuse.org/distribution/12.1/iso/openSUSE-12.1-DVD-i586.iso"
5
+ :iso_md5: "22b4d6bfdb11f5bdd36a05f9968a780c"
6
+ :boot_cmd_sequence:
7
+ - '<Esc><Enter>'
8
+ - 'linux netdevice=eth0 netsetup=dhcp textmode=1'
9
+ - ' install=cd:/'
10
+ - ' lang=en_US autoyast=http://%IP%:%PORT%/autoinst_32_en.xml'
11
+ - '<Enter>'
12
+ :kickstart_file:
13
+ - "autoinst_32_en.xml"
14
+ - "autoinst_32_en.xml"
@@ -0,0 +1,14 @@
1
+ ---
2
+ :os_type_id: 'OpenSUSE'
3
+ :iso_file: "openSUSE-12.1-NET-i586.iso"
4
+ :iso_src: "http://download.opensuse.org/distribution/12.1/iso/openSUSE-12.1-NET-i586.iso"
5
+ :iso_md5: "9122b633938a4747e05399386e6b202b"
6
+ :boot_cmd_sequence:
7
+ - '<Esc><Enter>'
8
+ - 'linux netdevice=eth0 netsetup=dhcp textmode=1'
9
+ - ' install=http://download.opensuse.org/distribution/12.1/repo/oss/ insecure=1'
10
+ - ' lang=de_DE autoyast=http://%IP%:%PORT%/autoinst_32_de.xml'
11
+ - '<Enter>'
12
+ :kickstart_file:
13
+ - "autoinst_32_de.xml"
14
+ - "autoinst_32_de.xml"
@@ -0,0 +1,14 @@
1
+ ---
2
+ :os_type_id: 'OpenSUSE'
3
+ :iso_file: "openSUSE-12.1-NET-i586.iso"
4
+ :iso_src: "http://download.opensuse.org/distribution/12.1/iso/openSUSE-12.1-NET-i586.iso"
5
+ :iso_md5: "9122b633938a4747e05399386e6b202b"
6
+ :boot_cmd_sequence:
7
+ - '<Esc><Enter>'
8
+ - 'linux netdevice=eth0 netsetup=dhcp textmode=1'
9
+ - ' install=http://download.opensuse.org/distribution/12.1/repo/oss/ insecure=1'
10
+ - ' lang=en_US autoyast=http://%IP%:%PORT%/autoinst_32_en.xml'
11
+ - '<Enter>'
12
+ :kickstart_file:
13
+ - "autoinst_32_en.xml"
14
+ - "autoinst_32_en.xml"
@@ -0,0 +1,14 @@
1
+ ---
2
+ :os_type_id: 'OpenSUSE_64'
3
+ :iso_file: "openSUSE-12.1-DVD-x86_64.iso"
4
+ :iso_src: "http://download.opensuse.org/distribution/12.1/iso/openSUSE-12.1-DVD-x86_64.iso"
5
+ :iso_md5: "4cfe8229111ef723ae7aa541fd2c87b7"
6
+ :boot_cmd_sequence:
7
+ - '<Esc><Enter>'
8
+ - 'linux netdevice=eth0 netsetup=dhcp textmode=1'
9
+ - ' install=cd:/'
10
+ - ' lang=de_DE autoyast=http://%IP%:%PORT%/autoinst_64_de.xml'
11
+ - '<Enter>'
12
+ :kickstart_file:
13
+ - "autoinst_64_de.xml"
14
+ - "autoinst_64_de.xml"
@@ -0,0 +1,14 @@
1
+ ---
2
+ :os_type_id: 'OpenSUSE_64'
3
+ :iso_file: "openSUSE-12.1-DVD-x86_64.iso"
4
+ :iso_src: "http://download.opensuse.org/distribution/12.1/iso/openSUSE-12.1-DVD-x86_64.iso"
5
+ :iso_md5: "4cfe8229111ef723ae7aa541fd2c87b7"
6
+ :boot_cmd_sequence:
7
+ - '<Esc><Enter>'
8
+ - 'linux netdevice=eth0 netsetup=dhcp textmode=1'
9
+ - ' install=cd:/'
10
+ - ' lang=en_US autoyast=http://%IP%:%PORT%/autoinst_64_en.xml'
11
+ - '<Enter>'
12
+ :kickstart_file:
13
+ - "autoinst_64_en.xml"
14
+ - "autoinst_64_en.xml"
@@ -0,0 +1,14 @@
1
+ ---
2
+ :os_type_id: 'OpenSUSE_64'
3
+ :iso_file: "openSUSE-12.1-NET-x86_64.iso"
4
+ :iso_src: "http://download.opensuse.org/distribution/12.1/iso/openSUSE-12.1-NET-x86_64.iso"
5
+ :iso_md5: "4b6f9142faadd95a25a7d81ebd656acf"
6
+ :boot_cmd_sequence:
7
+ - '<Esc><Enter>'
8
+ - 'linux netdevice=eth0 netsetup=dhcp textmode=1'
9
+ - ' install=http://download.opensuse.org/distribution/12.1/repo/oss/ insecure=1'
10
+ - ' lang=de_DE autoyast=http://%IP%:%PORT%/autoinst_64_de.xml'
11
+ - '<Enter>'
12
+ :kickstart_file:
13
+ - "autoinst_64_de.xml"
14
+ - "autoinst_64_de.xml"
@@ -0,0 +1,14 @@
1
+ ---
2
+ :os_type_id: 'OpenSUSE_64'
3
+ :iso_file: "openSUSE-12.1-NET-x86_64.iso"
4
+ :iso_src: "http://download.opensuse.org/distribution/12.1/iso/openSUSE-12.1-NET-x86_64.iso"
5
+ :iso_md5: "4b6f9142faadd95a25a7d81ebd656acf"
6
+ :boot_cmd_sequence:
7
+ - '<Esc><Enter>'
8
+ - 'linux netdevice=eth0 netsetup=dhcp textmode=1'
9
+ - ' install=http://download.opensuse.org/distribution/12.1/repo/oss/ insecure=1'
10
+ - ' lang=en_US autoyast=http://%IP%:%PORT%/autoinst_64_en.xml'
11
+ - '<Enter>'
12
+ :kickstart_file:
13
+ - "autoinst_64_en.xml"
14
+ - "autoinst_64_en.xml"
@@ -0,0 +1,2 @@
1
+
2
+ Veewee::Definition.declare_yaml('definition.yml', :hooks => { :before_ssh => Proc.new { sleep 10 } })
@@ -0,0 +1,36 @@
1
+ ---
2
+ :os_type_id: 'OpenSUSE_64'
3
+ :cpu_count: '2'
4
+ :memory_size: '1024'
5
+ :disk_size: '20480'
6
+ :disk_format: 'VDI'
7
+ :hostiocache: 'off'
8
+ :iso_file: "openSUSE-12.3-NET-x86_64.iso"
9
+ :iso_src: "http://download.opensuse.org/distribution/12.3/iso/openSUSE-12.3-NET-x86_64.iso"
10
+ :iso_md5: "0ef3c2f301b05f52e9c98cff3f799744"
11
+ :iso_download_timeout: "1000"
12
+ :boot_wait: "10"
13
+ :boot_cmd_sequence:
14
+ - '<Esc><Enter>'
15
+ - 'linux netdevice=eth0 netsetup=dhcp'
16
+ - ' install=http://download.opensuse.org/distribution/12.3/repo/oss/ insecure=1'
17
+ - ' lang=en_US autoyast=http://%IP%:%PORT%/autoinst.xml'
18
+ - ' textmode=1'
19
+ - '<Enter>'
20
+ :kickstart_port: "7122"
21
+ :kickstart_timeout: "300"
22
+ :kickstart_file:
23
+ - "autoinst.xml"
24
+ - "autoinst.xml"
25
+ :ssh_login_timeout: "10000"
26
+ :ssh_user: "root"
27
+ :ssh_password: "vagrant"
28
+ :ssh_key: ""
29
+ :ssh_host_port: "7222"
30
+ :ssh_guest_port: "22"
31
+ :sudo_cmd: "echo '%p'|sudo -S sh '%f'"
32
+ :shutdown_cmd: "shutdown -P now"
33
+ :postinstall_files:
34
+ - "postinstall.sh"
35
+ - "virtualbox.sh"
36
+ :postinstall_timeout: "10000"
@@ -1,70 +1,5 @@
1
- # go to last line to change installation media
2
- opensuse_32_dvd = {
3
- :os_type_id => 'OpenSUSE',
4
- :iso_file => "openSUSE-13.1-DVD-i586.iso",
5
- :iso_src => "http://download.opensuse.org/distribution/13.1/iso/openSUSE-13.1-DVD-i586.iso",
6
- :iso_md5 => "1bd6223430910f6d5a168d4e19171462",
7
- :boot_cmd_sequence => [
8
- '<Esc><Enter>',
9
- 'linux netdevice=enp0s3 netsetup=dhcp install=cd:/ lang=en_US autoyast=http://%IP%:%PORT%/autoinst.xml textmode=1',
10
- '<Enter>'
11
- ],
12
- }
13
- opensuse_32_net = {
14
- :os_type_id => 'OpenSUSE',
15
- :iso_file => "openSUSE-13.1-NET-i586.iso",
16
- :iso_src => "http://download.opensuse.org/distribution/13.1/iso/openSUSE-13.1-NET-i586.iso",
17
- :iso_md5 => "6d3c77f72ae4318439ddf5ad890b7687",
18
- :boot_cmd_sequence => [
19
- '<Esc><Enter>',
20
- 'linux netdevice=enp0s3 netsetup=dhcp install=http://download.opensuse.org/distribution/13.1/repo/oss/',
21
- ' insecure=1 lang=en_US autoyast=http://%IP%:%PORT%/autoinst.xml textmode=1',
22
- '<Enter>'
23
- ],
24
- }
25
- opensuse_64_dvd = {
26
- :os_type_id => 'OpenSUSE_64',
27
- :iso_file => "openSUSE-13.1-DVD-x86_64.iso",
28
- :iso_src => "http://download.opensuse.org/distribution/13.1/iso/openSUSE-13.1-DVD-x86_64.iso",
29
- :iso_md5 => "1096c9c67fc8a67a94a32d04a15e909d",
30
- :boot_cmd_sequence => [
31
- '<Esc><Enter>',
32
- 'linux netdevice=enp0s3 netsetup=dhcp install=cd:/ lang=en_US autoyast=http://%IP%:%PORT%/autoinst.xml textmode=1',
33
- '<Enter>'
34
- ],
35
- }
36
- opensuse_64_net = {
37
- :os_type_id => 'OpenSUSE_64',
38
- :iso_file => "openSUSE-13.1-NET-x86_64.iso",
39
- :iso_src => "http://download.opensuse.org/distribution/13.1/iso/openSUSE-13.1-NET-x86_64.iso",
40
- :iso_md5 => "6c0d656895cbd92f34de61d98ca364ea",
41
- :boot_cmd_sequence => [
42
- '<Esc><Enter>',
43
- 'linux netdevice=enp0s3 netsetup=dhcp install=http://download.opensuse.org/distribution/13.1/repo/oss/',
44
- ' insecure=1 lang=en_US autoyast=http://%IP%:%PORT%/autoinst.xml textmode=1',
45
- '<Enter>'
46
- ],
47
- }
48
-
49
- Veewee::Definition.declare({
50
- :cpu_count => '2',
51
- :memory_size => '1024',
52
- :disk_size => '20480',
53
- :disk_format => 'VDI',
54
- :hostiocache => 'off',
55
- :iso_download_timeout => "1000",
56
- :boot_wait => "10",
57
- :kickstart_port => "7122",
58
- :kickstart_timeout => "300",
59
- :kickstart_file => ["autoinst.xml", "autoinst.xml"],
60
- :ssh_login_timeout => "10000",
61
- :ssh_user => "root",
62
- :ssh_password => "vagrant",
63
- :ssh_key => "",
64
- :ssh_host_port => "7222",
65
- :ssh_guest_port => "22",
66
- :sudo_cmd => "echo '%p'|sudo -S sh '%f'",
67
- :shutdown_cmd => "shutdown -P now",
68
- :postinstall_files => ["postinstall.sh"],
69
- :postinstall_timeout => "10000",
70
- }.merge( opensuse_64_dvd )) # change opensuse_64_dvd to one of configuratiosn defined on top
1
+ #
2
+ # change opensuse_64_dvd to one of configurations in *.yml in this directory
3
+ # use the yml files to configure
4
+ #
5
+ Veewee::Definition.declare_yaml('definition.yml', 'opensuse_64_dvd.yml')