README.md in veewee-0.2.3 vs README.md in veewee-0.3.0.alpha1

- old
+ new

@@ -30,70 +30,43 @@ ## List all templates $ vagrant basebox templates The following templates are available: - vagrant basebox define '<boxname>' 'CentOS-4.8-i386' - vagrant basebox define '<boxname>' 'CentOS-5.5-x86_64-netboot' - vagrant basebox define '<boxname>' 'CentOS-5.6-i386' - vagrant basebox define '<boxname>' 'CentOS-5.6-i386-netboot' - vagrant basebox define '<boxname>' 'CentOS-5.6-x86_64-netboot' - vagrant basebox define '<boxname>' 'CentOS-5.7-i386-netboot' - vagrant basebox define '<boxname>' 'CentOS-5.7-x86_64-netboot' - vagrant basebox define '<boxname>' 'CentOS-6.0-i386' - vagrant basebox define '<boxname>' 'CentOS-6.0-i386-netboot' - vagrant basebox define '<boxname>' 'CentOS-6.0-x86_64' - vagrant basebox define '<boxname>' 'CentOS-6.0-x86_64-minimal' - vagrant basebox define '<boxname>' 'CentOS-6.0-x86_64-netboot' - vagrant basebox define '<boxname>' 'Debian-5.0.8-amd64-netboot' - vagrant basebox define '<boxname>' 'Debian-5.0.8-i386-netboot' - vagrant basebox define '<boxname>' 'Debian-6.0.3-amd64-netboot' - vagrant basebox define '<boxname>' 'Debian-6.0.3-i386-netboot' - vagrant basebox define '<boxname>' 'Fedora-14-amd64' - vagrant basebox define '<boxname>' 'Fedora-14-amd64-netboot' - vagrant basebox define '<boxname>' 'Fedora-14-i386' - vagrant basebox define '<boxname>' 'Fedora-14-i386-netboot' - vagrant basebox define '<boxname>' 'Fedora-15-i386' - vagrant basebox define '<boxname>' 'Fedora-15-i386-netboot' - vagrant basebox define '<boxname>' 'Fedora-15-x86_64' - vagrant basebox define '<boxname>' 'Fedora-15-x86_64-netboot' - vagrant basebox define '<boxname>' 'Sysrescuecd-2.0.0-experimental' - vagrant basebox define '<boxname>' 'archlinux-i386' - vagrant basebox define '<boxname>' 'archlinux-i386-netboot' - vagrant basebox define '<boxname>' 'archlinux-x86_64' - vagrant basebox define '<boxname>' 'archlinux-x86_64-netboot' - vagrant basebox define '<boxname>' 'freebsd-8.2-experimental' - vagrant basebox define '<boxname>' 'freebsd-8.2-pcbsd-i386' - vagrant basebox define '<boxname>' 'freebsd-8.2-pcbsd-i386-netboot' - vagrant basebox define '<boxname>' 'gentoo-latest-i386-experimental' - vagrant basebox define '<boxname>' 'openSUSE-11.4-DVD-i586' - vagrant basebox define '<boxname>' 'openSUSE-11.4-DVD-x86_64' - vagrant basebox define '<boxname>' 'openSUSE-11.4-NET-i586' - vagrant basebox define '<boxname>' 'openSUSE-11.4-NET-x86_64' - vagrant basebox define '<boxname>' 'openindiana-148-ai-x86' - vagrant basebox define '<boxname>' 'opensuse-11.4-i386-experimental' - vagrant basebox define '<boxname>' 'scientificlinux-6.1-i386-netboot' - vagrant basebox define '<boxname>' 'scientificlinux-6.1-x86_64-netboot' - vagrant basebox define '<boxname>' 'solaris-11-express-i386' - vagrant basebox define '<boxname>' 'ubuntu-10.04.2-amd64-netboot' - vagrant basebox define '<boxname>' 'ubuntu-10.04.2-server-i386-netboot' - vagrant basebox define '<boxname>' 'ubuntu-10.04.3-server-amd64' - vagrant basebox define '<boxname>' 'ubuntu-10.04.3-server-amd64-alt' - vagrant basebox define '<boxname>' 'ubuntu-10.04.3-server-i386' - vagrant basebox define '<boxname>' 'ubuntu-10.10-server-amd64' - vagrant basebox define '<boxname>' 'ubuntu-10.10-server-amd64-netboot' - vagrant basebox define '<boxname>' 'ubuntu-10.10-server-i386' - vagrant basebox define '<boxname>' 'ubuntu-10.10-server-i386-netboot' - vagrant basebox define '<boxname>' 'ubuntu-11.04-server-amd64' - vagrant basebox define '<boxname>' 'ubuntu-11.04-server-i386' - vagrant basebox define '<boxname>' 'ubuntu-11.10-server-amd64' - vagrant basebox define '<boxname>' 'ubuntu-11.10-server-amd64-ishaya' - vagrant basebox define '<boxname>' 'ubuntu-11.10-server-amd64-ruby192' - vagrant basebox define '<boxname>' 'ubuntu-11.10-server-i386' - vagrant basebox define '<boxname>' 'ubuntu-8.04.4-server-amd64' - vagrant basebox define '<boxname>' 'ubuntu-8.04.4-server-i386' - vagrant basebox define '<boxname>' 'windows-2008R2-amd64' + vagrant basebox define '<box_name>' 'ubuntu-10.10-server-i386-netboot' + vagrant basebox define '<box_name>' 'ubuntu-10.10-server-amd64-netboot' + vagrant basebox define '<box_name>' 'solaris-11-express-i386' + vagrant basebox define '<box_name>' 'freebsd-8.2-pcbsd-i386-netboot' + vagrant basebox define '<box_name>' 'Fedora-14-amd64-netboot' + vagrant basebox define '<box_name>' 'ubuntu-11.04-server-amd64' + vagrant basebox define '<box_name>' 'freebsd-8.2-experimental' + vagrant basebox define '<box_name>' 'archlinux-i686' + vagrant basebox define '<box_name>' 'CentOS-5.6-i386-netboot' + vagrant basebox define '<box_name>' 'openindiana-148-ai-x86' + vagrant basebox define '<box_name>' 'ubuntu-10.10-server-i386' + vagrant basebox define '<box_name>' 'ubuntu-10.04.2-server-i386' + vagrant basebox define '<box_name>' 'ubuntu-10.04.2-amd64-netboot' + vagrant basebox define '<box_name>' 'Sysrescuecd-2.0.0-experimental' + vagrant basebox define '<box_name>' 'Debian-6.0.1a-amd64-netboot' + vagrant basebox define '<box_name>' 'freebsd-8.2-pcbsd-i386' + vagrant basebox define '<box_name>' 'Fedora-14-i386' + vagrant basebox define '<box_name>' 'Fedora-14-amd64' + vagrant basebox define '<box_name>' 'ubuntu-10.04.2-server-i386-netboot' + vagrant basebox define '<box_name>' 'opensuse-11.4-i386-experimental' + vagrant basebox define '<box_name>' 'CentOS-4.8-i386' + vagrant basebox define '<box_name>' 'ubuntu-10.04.2-server-amd64' + vagrant basebox define '<box_name>' 'ubuntu-8.04.4-server-amd64' + vagrant basebox define '<box_name>' 'gentoo-latest-i386-experimental' + vagrant basebox define '<box_name>' 'ubuntu-8.04.4-server-i386' + vagrant basebox define '<box_name>' 'windows-2008R2-amd64' + vagrant basebox define '<box_name>' 'Fedora-14-i386-netboot' + vagrant basebox define '<box_name>' 'archlinux-64-experimental' + vagrant basebox define '<box_name>' 'Debian-6.0.1a-i386-netboot' + vagrant basebox define '<box_name>' 'ubuntu-10.10-server-amd64' + vagrant basebox define '<box_name>' 'archlinux-64-aif-experimental' + vagrant basebox define '<box_name>' 'ubuntu-11.04-server-i386' + vagrant basebox define '<box_name>' 'CentOS-5.6-i386' ## Define a new box Let's define a Ubuntu 10.10 server i386 basebox called myunbuntubox this is essentially making a copy based on the templates provided above. @@ -109,11 +82,11 @@ $ ls definitions/myubuntubox definition.rb postinstall.sh postinstall2.sh preseed.cfg ## Optionally modify the definition.rb , postinstall.sh or preseed.cfg - Veewee::Session.declare( { + Veewee::Definition.declare( { :cpu_count => '1', :memory_size=> '256', :disk_size => '10140', :disk_format => 'VDI', :os_type_id => 'Ubuntu', :iso_file => "ubuntu-10.10-server-i386.iso", :iso_src => "http://releases.ubuntu.com/maverick/ubuntu-10.10-server-i386.iso", @@ -156,10 +129,10 @@ - This will create a machine + disk according to the definition.rb - Note: :os_type_id = The internal Name Virtualbox uses for that Distribution - Mount the ISO File :iso_file - Boot up the machine and wait for :boot_time - Send the keystrokes in :boot_cmd_sequence -- Startup a webserver on :kickstart_port to wait for a request for the :kickstart_file (don't navigate to the file in your browser or the server will stop and the installer will not be able to find your preseed) +- Startup a webserver on :kickstart_port to wait for a request for the :kickstart_file - Wait for ssh login to work with :ssh_user , :ssh_password - Sudo execute the :postinstall_files ## Validate the vm