HeSYINUvSBZfxqA-veewee 0.2.0.2
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +15 -0
- data/Gemfile +3 -0
- data/Gemfile.lock +69 -0
- data/HeSYINUvSBZfxqA-veewee.gemspec +33 -0
- data/README.md +198 -0
- data/Rakefile +92 -0
- data/bin/veewee +79 -0
- data/lib/java/README.txt +5 -0
- data/lib/java/dir2floppy.jar +0 -0
- data/lib/java/dir2floppy.java +137 -0
- data/lib/vagrant_init.rb +6 -0
- data/lib/veewee/command.rb +82 -0
- data/lib/veewee/config.rb +5 -0
- data/lib/veewee/export.rb +81 -0
- data/lib/veewee/scancode.rb +151 -0
- data/lib/veewee/session.rb +783 -0
- data/lib/veewee/shell.rb +54 -0
- data/lib/veewee/ssh.rb +193 -0
- data/lib/veewee/transaction.rb +122 -0
- data/lib/veewee/utils.rb +26 -0
- data/lib/veewee/version.rb +3 -0
- data/lib/veewee/web.rb +48 -0
- data/lib/veewee.rb +2 -0
- data/templates/CentOS-4.8-i386/definition.rb +14 -0
- data/templates/CentOS-4.8-i386/ks.cfg +45 -0
- data/templates/CentOS-4.8-i386/postinstall.sh +55 -0
- data/templates/CentOS-5.6-i386/definition.rb +17 -0
- data/templates/CentOS-5.6-i386/ks.cfg +45 -0
- data/templates/CentOS-5.6-i386/postinstall.sh +50 -0
- data/templates/CentOS-5.6-i386-netboot/definition.rb +16 -0
- data/templates/CentOS-5.6-i386-netboot/ks.cfg +45 -0
- data/templates/CentOS-5.6-i386-netboot/postinstall.sh +52 -0
- data/templates/CentOS-5.6-x86_64-netboot/definition.rb +16 -0
- data/templates/CentOS-5.6-x86_64-netboot/ks.cfg +45 -0
- data/templates/CentOS-5.6-x86_64-netboot/postinstall.sh +60 -0
- data/templates/CentOS-6.0-i386/definition.rb +17 -0
- data/templates/CentOS-6.0-i386/ks.cfg +47 -0
- data/templates/CentOS-6.0-i386/postinstall.sh +48 -0
- data/templates/CentOS-6.0-i386-netboot/definition.rb +16 -0
- data/templates/CentOS-6.0-i386-netboot/ks.cfg +52 -0
- data/templates/CentOS-6.0-i386-netboot/postinstall.sh +30 -0
- data/templates/CentOS-6.0-x86_64/definition.rb +17 -0
- data/templates/CentOS-6.0-x86_64/ks.cfg +47 -0
- data/templates/CentOS-6.0-x86_64/postinstall.sh +48 -0
- data/templates/CentOS-6.0-x86_64-netboot/definition.rb +16 -0
- data/templates/CentOS-6.0-x86_64-netboot/ks.cfg +52 -0
- data/templates/CentOS-6.0-x86_64-netboot/postinstall.sh +30 -0
- data/templates/Debian-5.0.8-amd64-netboot/definition.rb +39 -0
- data/templates/Debian-5.0.8-amd64-netboot/postinstall.sh +60 -0
- data/templates/Debian-5.0.8-amd64-netboot/preseed.cfg +312 -0
- data/templates/Debian-5.0.8-i386-netboot/definition.rb +39 -0
- data/templates/Debian-5.0.8-i386-netboot/postinstall.sh +60 -0
- data/templates/Debian-5.0.8-i386-netboot/preseed.cfg +312 -0
- data/templates/Debian-6.0.2-amd64-netboot/definition.rb +39 -0
- data/templates/Debian-6.0.2-amd64-netboot/postinstall.sh +71 -0
- data/templates/Debian-6.0.2-amd64-netboot/preseed.cfg +312 -0
- data/templates/Debian-6.0.2-i386-netboot/definition.rb +41 -0
- data/templates/Debian-6.0.2-i386-netboot/postinstall.sh +83 -0
- data/templates/Debian-6.0.2-i386-netboot/preseed.cfg +312 -0
- data/templates/Fedora-14-amd64/definition.rb +16 -0
- data/templates/Fedora-14-amd64/ks.cfg +41 -0
- data/templates/Fedora-14-amd64/postinstall.sh +54 -0
- data/templates/Fedora-14-amd64-netboot/definition.rb +16 -0
- data/templates/Fedora-14-amd64-netboot/ks.cfg +40 -0
- data/templates/Fedora-14-amd64-netboot/postinstall.sh +54 -0
- data/templates/Fedora-14-i386/definition.rb +16 -0
- data/templates/Fedora-14-i386/ks.cfg +41 -0
- data/templates/Fedora-14-i386/postinstall.sh +54 -0
- data/templates/Fedora-14-i386-netboot/definition.rb +16 -0
- data/templates/Fedora-14-i386-netboot/ks.cfg +40 -0
- data/templates/Fedora-14-i386-netboot/postinstall.sh +54 -0
- data/templates/Fedora-15-i386/definition.rb +17 -0
- data/templates/Fedora-15-i386/ks.cfg +64 -0
- data/templates/Fedora-15-i386/postinstall.sh +33 -0
- data/templates/Fedora-15-i386-netboot/definition.rb +17 -0
- data/templates/Fedora-15-i386-netboot/ks.cfg +82 -0
- data/templates/Fedora-15-i386-netboot/postinstall.sh +18 -0
- data/templates/Sysrescuecd-2.0.0-experimental/autorun0 +3 -0
- data/templates/Sysrescuecd-2.0.0-experimental/definition.rb +20 -0
- data/templates/archlinux-i386/aif.cfg +33 -0
- data/templates/archlinux-i386/definition.rb +29 -0
- data/templates/archlinux-i386/postinstall.sh +95 -0
- data/templates/archlinux-x86_64/aif.cfg +33 -0
- data/templates/archlinux-x86_64/definition.rb +29 -0
- data/templates/archlinux-x86_64/postinstall.sh +95 -0
- data/templates/freebsd-8.2-experimental/definition.rb +19 -0
- data/templates/freebsd-8.2-experimental/postinstall.sh +191 -0
- data/templates/freebsd-8.2-pcbsd-i386/definition.rb +31 -0
- data/templates/freebsd-8.2-pcbsd-i386/pcinstall.fbg.cfg +57 -0
- data/templates/freebsd-8.2-pcbsd-i386/postinstall.sh +93 -0
- data/templates/freebsd-8.2-pcbsd-i386-netboot/definition.rb +34 -0
- data/templates/freebsd-8.2-pcbsd-i386-netboot/pcinstall.fbg.cfg +58 -0
- data/templates/freebsd-8.2-pcbsd-i386-netboot/postinstall.sh +93 -0
- data/templates/gentoo-latest-i386-experimental/definition.rb +29 -0
- data/templates/gentoo-latest-i386-experimental/postinstall.sh +184 -0
- data/templates/openindiana-148-ai-x86/auto_install/ai.dtd +58 -0
- data/templates/openindiana-148-ai-x86/auto_install/ai_manifest.xml +241 -0
- data/templates/openindiana-148-ai-x86/auto_install/configuration.dtd +44 -0
- data/templates/openindiana-148-ai-x86/auto_install/default.xml +121 -0
- data/templates/openindiana-148-ai-x86/auto_install/default.xml.orig +124 -0
- data/templates/openindiana-148-ai-x86/auto_install/sc_profiles/static_network.xml +105 -0
- data/templates/openindiana-148-ai-x86/auto_install/software.dtd +105 -0
- data/templates/openindiana-148-ai-x86/auto_install/target.dtd +196 -0
- data/templates/openindiana-148-ai-x86/default.xml +121 -0
- data/templates/openindiana-148-ai-x86/definition.rb +59 -0
- data/templates/openindiana-148-ai-x86/postinstall.sh +103 -0
- data/templates/opensuse-11.4-i386-experimental/README +11 -0
- data/templates/opensuse-11.4-i386-experimental/autoinst.xml +1269 -0
- data/templates/opensuse-11.4-i386-experimental/autoinst.xml.generated +1269 -0
- data/templates/opensuse-11.4-i386-experimental/autoinst.xml.tweaked +1269 -0
- data/templates/opensuse-11.4-i386-experimental/definition.rb +31 -0
- data/templates/opensuse-11.4-i386-experimental/postinstall.sh +90 -0
- data/templates/solaris-11-express-i386/auto_install/ai.dtd +58 -0
- data/templates/solaris-11-express-i386/auto_install/ai_manifest.xml +241 -0
- data/templates/solaris-11-express-i386/auto_install/configuration.dtd +44 -0
- data/templates/solaris-11-express-i386/auto_install/default.xml +124 -0
- data/templates/solaris-11-express-i386/auto_install/default.xml.orig +124 -0
- data/templates/solaris-11-express-i386/auto_install/sc_profiles/static_network.xml +105 -0
- data/templates/solaris-11-express-i386/auto_install/software.dtd +105 -0
- data/templates/solaris-11-express-i386/auto_install/target.dtd +196 -0
- data/templates/solaris-11-express-i386/default.xml +121 -0
- data/templates/solaris-11-express-i386/definition.rb +65 -0
- data/templates/solaris-11-express-i386/postinstall.sh +98 -0
- data/templates/ubuntu-10.04.2-amd64-netboot/definition.rb +23 -0
- data/templates/ubuntu-10.04.2-amd64-netboot/postinstall.sh +90 -0
- data/templates/ubuntu-10.04.2-amd64-netboot/preseed.cfg +89 -0
- data/templates/ubuntu-10.04.2-server-amd64/definition.rb +57 -0
- data/templates/ubuntu-10.04.2-server-amd64/postinstall.sh +90 -0
- data/templates/ubuntu-10.04.2-server-amd64/preseed.cfg +87 -0
- data/templates/ubuntu-10.04.2-server-amd64-alt/definition.rb +57 -0
- data/templates/ubuntu-10.04.2-server-amd64-alt/postinstall.sh +249 -0
- data/templates/ubuntu-10.04.2-server-amd64-alt/preseed.cfg +124 -0
- data/templates/ubuntu-10.04.2-server-i386/definition.rb +24 -0
- data/templates/ubuntu-10.04.2-server-i386/postinstall.sh +91 -0
- data/templates/ubuntu-10.04.2-server-i386/preseed.cfg +87 -0
- data/templates/ubuntu-10.04.2-server-i386-netboot/definition.rb +23 -0
- data/templates/ubuntu-10.04.2-server-i386-netboot/postinstall.sh +90 -0
- data/templates/ubuntu-10.04.2-server-i386-netboot/preseed.cfg +89 -0
- data/templates/ubuntu-10.10-server-amd64/definition.rb +24 -0
- data/templates/ubuntu-10.10-server-amd64/postinstall.sh +90 -0
- data/templates/ubuntu-10.10-server-amd64/preseed.cfg +87 -0
- data/templates/ubuntu-10.10-server-amd64-netboot/definition.rb +24 -0
- data/templates/ubuntu-10.10-server-amd64-netboot/postinstall.sh +90 -0
- data/templates/ubuntu-10.10-server-amd64-netboot/preseed.cfg +89 -0
- data/templates/ubuntu-10.10-server-i386/definition.rb +24 -0
- data/templates/ubuntu-10.10-server-i386/postinstall.sh +90 -0
- data/templates/ubuntu-10.10-server-i386/preseed.cfg +87 -0
- data/templates/ubuntu-10.10-server-i386-netboot/definition.rb +24 -0
- data/templates/ubuntu-10.10-server-i386-netboot/postinstall.sh +90 -0
- data/templates/ubuntu-10.10-server-i386-netboot/preseed.cfg +89 -0
- data/templates/ubuntu-11.04-server-amd64/definition.rb +24 -0
- data/templates/ubuntu-11.04-server-amd64/postinstall.sh +90 -0
- data/templates/ubuntu-11.04-server-amd64/preseed.cfg +87 -0
- data/templates/ubuntu-11.04-server-i386/definition.rb +24 -0
- data/templates/ubuntu-11.04-server-i386/postinstall.sh +90 -0
- data/templates/ubuntu-11.04-server-i386/preseed.cfg +87 -0
- data/templates/ubuntu-8.04.4-server-amd64/definition.rb +25 -0
- data/templates/ubuntu-8.04.4-server-amd64/postinstall.sh +68 -0
- data/templates/ubuntu-8.04.4-server-amd64/preseed.cfg +88 -0
- data/templates/ubuntu-8.04.4-server-i386/definition.rb +25 -0
- data/templates/ubuntu-8.04.4-server-i386/postinstall.sh +47 -0
- data/templates/ubuntu-8.04.4-server-i386/preseed.cfg +87 -0
- data/templates/windows-2008R2-amd64/Autounattend.xml +132 -0
- data/templates/windows-2008R2-amd64/README.md +68 -0
- data/templates/windows-2008R2-amd64/cygwin-setup.exe +0 -0
- data/templates/windows-2008R2-amd64/definition.rb +16 -0
- data/templates/windows-2008R2-amd64/install-cygwin-sshd.bat +38 -0
- data/templates/windows-2008R2-amd64/install-winrm.bat +6 -0
- data/templates/windows-2008R2-amd64/oracle-cert.cer +0 -0
- data/templates/windows-2008R2-amd64/postinstall.sh +122 -0
- data/templates/windows-2008R2-amd64/winrm.rb +8 -0
- data/trials/docu-vbox.txt +83 -0
- data/trials/f.rb +29 -0
- data/trials/t.rb +15 -0
- data/validation/features/steps/ssh_steps.rb +170 -0
- data/validation/support/env.rb +1 -0
- data/validation/vagrant-private.key +27 -0
- data/validation/vagrant.feature +52 -0
- data/validation/vagrant.pub +1 -0
- data/veewee.gemspec +33 -0
- data/vendor/cache/Platform-0.4.0.gem +0 -0
- data/vendor/cache/archive-tar-minitar-0.5.2.gem +0 -0
- data/vendor/cache/builder-3.0.0.gem +0 -0
- data/vendor/cache/cucumber-1.0.2.gem +0 -0
- data/vendor/cache/diff-lcs-1.1.2.gem +0 -0
- data/vendor/cache/erubis-2.7.0.gem +0 -0
- data/vendor/cache/ffi-1.0.9.gem +0 -0
- data/vendor/cache/gherkin-2.4.6.gem +0 -0
- data/vendor/cache/highline-1.6.2.gem +0 -0
- data/vendor/cache/i18n-0.5.0.gem +0 -0
- data/vendor/cache/json-1.5.3.gem +0 -0
- data/vendor/cache/net-scp-1.0.4.gem +0 -0
- data/vendor/cache/net-ssh-2.1.4.gem +0 -0
- data/vendor/cache/open4-1.1.0.gem +0 -0
- data/vendor/cache/popen4-0.1.2.gem +0 -0
- data/vendor/cache/progressbar-0.9.1.gem +0 -0
- data/vendor/cache/rspec-2.5.0.gem +0 -0
- data/vendor/cache/rspec-core-2.5.2.gem +0 -0
- data/vendor/cache/rspec-expectations-2.5.0.gem +0 -0
- data/vendor/cache/rspec-mocks-2.5.0.gem +0 -0
- data/vendor/cache/term-ansicolor-1.0.6.gem +0 -0
- data/vendor/cache/thor-0.14.6.gem +0 -0
- data/vendor/cache/vagrant-0.8.2.gem +0 -0
- data/vendor/cache/virtualbox-0.9.1.gem +0 -0
- metadata +417 -0
@@ -0,0 +1,59 @@
|
|
1
|
+
Veewee::Session.declare({
|
2
|
+
:cpu_count => '1', :memory_size=> '768',
|
3
|
+
#Disk size needs to be 12Gig +
|
4
|
+
:disk_size => '15140', :disk_format => 'VDI', :hostiocache => 'on', :use_hw_virt_ext => 'on',
|
5
|
+
:os_type_id => 'OpenSolaris',
|
6
|
+
:iso_file => "oi-dev-148-ai-x86.iso",
|
7
|
+
:iso_src => "http://dlc.openindiana.org/isos/148/oi-dev-148-ai-x86.iso",
|
8
|
+
:iso_md5 => "a8e17584f58ff1d1c90464d8051a8f38",
|
9
|
+
:iso_download_timeout => 1000,
|
10
|
+
:boot_wait => "15", :boot_cmd_sequence => [
|
11
|
+
'e',
|
12
|
+
'e',
|
13
|
+
'<Backspace>'*22,
|
14
|
+
'false',
|
15
|
+
'<Enter>',
|
16
|
+
'b',
|
17
|
+
'<Wait>'*190,
|
18
|
+
|
19
|
+
# login as root
|
20
|
+
'root<Enter><Wait>',
|
21
|
+
'openindiana<Enter><Wait>',
|
22
|
+
|
23
|
+
# Background check when install is complete, add vagrant to the sudo
|
24
|
+
'while (true); do sleep 5; test -f /a/etc/sudoers && grep -v "vagrant" "/a/etc/sudoers" 2> /dev/null',
|
25
|
+
' && echo "vagrant ALL=(ALL) NOPASSWD: ALL" >> /a/etc/sudoers && break ; done &<Enter>',
|
26
|
+
|
27
|
+
# Background check to see if install has finished and reboot
|
28
|
+
'<Enter>while (true); do grep "You may wish to reboot" "/tmp/install_log" 2> /dev/null',
|
29
|
+
' && reboot; sleep 10; done &<Enter>',
|
30
|
+
|
31
|
+
|
32
|
+
# Wait for 5 seconds, so the webserver will be up
|
33
|
+
'sleep 5; curl http://%IP%:%PORT%/default.xml -o default.xml;',
|
34
|
+
'cp default.xml /tmp/ai_combined_manifest.xml;',
|
35
|
+
|
36
|
+
# Start the installer
|
37
|
+
'svcadm enable svc:/application/auto-installer:default;',
|
38
|
+
'<Wait>'*2,
|
39
|
+
# Wait for the installer to launch and display the logfile
|
40
|
+
'sleep 3; tail -f /tmp/install_log<Enter>'
|
41
|
+
|
42
|
+
],
|
43
|
+
:kickstart_port => "7122", :kickstart_timeout => 10000, :kickstart_file => "default.xml",
|
44
|
+
:ssh_login_timeout => "100", :ssh_user => "vagrant", :ssh_password => "vagrant", :ssh_key => "",
|
45
|
+
:ssh_host_port => "7222", :ssh_guest_port => "22",
|
46
|
+
:sudo_cmd => "echo '%p'|sudo -S bash ./%f",
|
47
|
+
:shutdown_cmd => "/usr/sbin/halt",
|
48
|
+
:postinstall_files => [ "postinstall.sh"], :postinstall_timeout => 10000
|
49
|
+
})
|
50
|
+
|
51
|
+
# Notes:
|
52
|
+
# http://dlc.sun.com/osol/docs/content/dev/AIinstall/aimanifest.html
|
53
|
+
# http://download.oracle.com/docs/cd/E19963-01/html/820-6566/media-ai.html#gklco
|
54
|
+
# default.xml
|
55
|
+
# /.cdrom/auto_install/default.xml
|
56
|
+
# /usr/share/auto_install/default.xml
|
57
|
+
|
58
|
+
#tail -f /tmp/install.log
|
59
|
+
|
@@ -0,0 +1,103 @@
|
|
1
|
+
# http://projects.puppetlabs.com/projects/1/wiki/Puppet_Solaris
|
2
|
+
|
3
|
+
date > /etc/vagrant_box_build_time
|
4
|
+
|
5
|
+
# Add the opencsw package site
|
6
|
+
export PATH=/usr/bin:/usr/sbin:$PATH
|
7
|
+
|
8
|
+
yes|/usr/sbin/pkgadd -d http://mirror.opencsw.org/opencsw/pkgutil-`uname -p`.pkg all
|
9
|
+
|
10
|
+
/opt/csw/bin/pkgutil -U
|
11
|
+
|
12
|
+
# We need some header stuff and so on to get gcc going
|
13
|
+
# Tip thx to - https://wiki.chipp.ch/twiki/bin/view/CmsTier3/InstallationSolaris
|
14
|
+
#/usr/bin/pkg install SUNWarc SUNWsfwhea SUNWhea SUNWtoo
|
15
|
+
/usr/bin/pkg install SUNWarc SUNWhea SUNWtoo
|
16
|
+
/usr/bin/pkg install math/header-math
|
17
|
+
|
18
|
+
/opt/csw/bin/pkgutil -y -i CSWgsed
|
19
|
+
/opt/csw/bin/pkgutil -y -i CSWruby18-gcc4
|
20
|
+
/opt/csw/bin/pkgutil -y -i CSWruby18-dev
|
21
|
+
/opt/csw/bin/pkgutil -y -i CSWrubygems
|
22
|
+
|
23
|
+
# These are needed to get a compiler working
|
24
|
+
# Mainly because chef depends on compiling some native gems
|
25
|
+
export PATH=/opt/csw/bin:$PATH
|
26
|
+
export PATH=/opt/csw/gcc4/bin:$PATH
|
27
|
+
|
28
|
+
/opt/csw/bin/pkgutil -y -i CSWgcc4core
|
29
|
+
|
30
|
+
|
31
|
+
/opt/csw/bin/pkgutil -y -i CSWgcc4g++
|
32
|
+
/opt/csw/bin/pkgutil -y -i CSWreadline
|
33
|
+
/opt/csw/bin/pkgutil -y -i CSWzlib
|
34
|
+
/opt/csw/bin/pkgutil -y -i CSWossldevel
|
35
|
+
|
36
|
+
# prevents ":in `require': no such file to load -- mkmf (LoadError)"
|
37
|
+
# yes|/opt/csw/bin/pkgutil -i CSWruby
|
38
|
+
# used SUNWspro
|
39
|
+
# has entries in /opt/csw/lib/ruby/1.8/i386-solaris2.9/rbconfig.rb
|
40
|
+
# luckily there is another one
|
41
|
+
# For some reason these don't get installed ok, we need to give them a slight kick again
|
42
|
+
/opt/csw/bin/pkgutil -y -i CSWgcc4core
|
43
|
+
/opt/csw/bin/pkgutil -y -i CSWruby18-gcc4
|
44
|
+
|
45
|
+
# no solaris2.11 .... mkheaders here ! needs some fixing ??
|
46
|
+
# /opt/csw/gcc4/libexec/gcc/i386-pc-solaris2.10/4.3.3/install-tools/mkheaders
|
47
|
+
/opt/csw/gcc4/libexec/gcc/i386-pc-solaris2.8/4.3.3/install-tools/mkheaders
|
48
|
+
|
49
|
+
/opt/csw/sbin/alternatives --display rbconfig18
|
50
|
+
/opt/csw/sbin/alternatives --set rbconfig18 /opt/csw/lib/ruby/1.8/i386-solaris2.9/rbconfig.rb.gcc4
|
51
|
+
|
52
|
+
/opt/csw/bin/gem install puppet --no-ri --no-rdoc
|
53
|
+
/opt/csw/bin/gem install chef --no-ri --no-rdoc
|
54
|
+
|
55
|
+
#Installing vagrant keys
|
56
|
+
mkdir /export/home/vagrant/.ssh
|
57
|
+
chmod 700 /export/home/vagrant/.ssh
|
58
|
+
cd /export/home/vagrant/.ssh
|
59
|
+
/usr/bin/wget --no-check-certificate 'http://github.com/mitchellh/vagrant/raw/master/keys/vagrant.pub' -O authorized_keys
|
60
|
+
chown -R vagrant /export/home/vagrant/.ssh
|
61
|
+
|
62
|
+
#Installing the virtualbox guest additions
|
63
|
+
VBOX_VERSION=$(cat /export/home/vagrant/.vbox_version)
|
64
|
+
cd /tmp
|
65
|
+
/usr/bin/wget http://download.virtualbox.org/virtualbox/4.0.6/VirtualBox-4.0.6-71344-SunOS.tar.gz
|
66
|
+
/usr/gnu/bin/tar -xzvf VirtualBox-4.0.6-71344-SunOS.tar.gz
|
67
|
+
/usr/bin/pkgtrans VirtualBox-4.0.6-SunOS-r71344.pkg . all
|
68
|
+
yes|/usr/sbin/pkgadd -d . SUNWvbox
|
69
|
+
|
70
|
+
# Fix the shells to include the /opt/csw directories
|
71
|
+
|
72
|
+
echo "export PATH=/opt/csw/bin:/opt/csw/sbin:$PATH" >> /root/.profile
|
73
|
+
echo "export PATH=/opt/csw/bin:/opt/csw/sbin:$PATH" >> /export/home/vagrant/.profile
|
74
|
+
|
75
|
+
# Zero out the free space to save space in the final image:
|
76
|
+
dd if=/dev/zero of=/EMPTY bs=1M
|
77
|
+
rm -f /EMPTY
|
78
|
+
|
79
|
+
echo "Note: validation of this box wil fail, as it's not linux based, working on that"
|
80
|
+
|
81
|
+
exit
|
82
|
+
|
83
|
+
#Inspiration for ruby enterprise
|
84
|
+
|
85
|
+
PATH=$PATH:/opt/csw/bin
|
86
|
+
wget http://rubyforge.org/frs/download.php/71096/ruby-enterprise-1.8.7-2010.02.tar.gz
|
87
|
+
tar xzvf ruby-enterprise-1.8.7-2010.02.tar.gz
|
88
|
+
./ruby-enterprise-1.8.7-2010.02/installer -a /opt/ruby --no-dev-docs --dont-install-useful-gems
|
89
|
+
|
90
|
+
# http://www.darkaslight.com/blog/entry/38-Compiling-Ruby-Enterprise-Edition-on-Solaris-10
|
91
|
+
#* To install C compiler:
|
92
|
+
#* To install C++ compiler:
|
93
|
+
#* To install Zlib development headers:
|
94
|
+
#* To install OpenSSL development headers:
|
95
|
+
#* To install GNU Readline development headers:
|
96
|
+
#
|
97
|
+
#bash-3.00# wget http://rubyforge.org/frs/download.php/38084/ruby-enterprise-1.8.6-20080507.tar.gz
|
98
|
+
#bash-3.00# gtar xvf ruby-enterprise-1.8.6-20080507.tar.gz
|
99
|
+
#bash-3.00# cd ruby-enterprise-1.8.6-20080507/source
|
100
|
+
#bash-3.00# ./configure --with-openssl-dir=/opt/csw --with-readline-dir=/opt/csw \
|
101
|
+
#--with-iconv-dir=/opt/csw --prefix=/opt/rubyenterprise
|
102
|
+
#bash-3.00# make
|
103
|
+
#bash-3.00# make install
|
@@ -0,0 +1,11 @@
|
|
1
|
+
Additional
|
2
|
+
edit partitions add set the label (root/home)
|
3
|
+
disable autoinstall (so we can add the network by bus)
|
4
|
+
select autoyast2 as part of the inital installation to create the autoyast.xml
|
5
|
+
|
6
|
+
zypper install autoyast
|
7
|
+
zypper install vim
|
8
|
+
yast2 autoyast
|
9
|
+
|
10
|
+
|
11
|
+
# yast2 clone_system
|