Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

String together an openindiana template based on the solaris one. Yay!

  • Loading branch information...
commit a60883febe5e91ad35f15a4277aea67fad214cc1 1 parent 5f27741
@benjaminws benjaminws authored
View
58 templates/openindiana-148-ai-x86/auto_install/ai.dtd
@@ -0,0 +1,58 @@
+<!--
+ CDDL HEADER START
+
+ The contents of this file are subject to the terms of the
+ Common Development and Distribution License (the "License").
+ You may not use this file except in compliance with the License.
+
+ You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+ or http://www.opensolaris.org/os/licensing.
+ See the License for the specific language governing permissions
+ and limitations under the License.
+
+ When distributing Covered Code, include this CDDL HEADER in each
+ file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+ If applicable, add the following below this CDDL HEADER, with the
+ fields enclosed by brackets "[]" replaced with your own identifying
+ information: Portions Copyright [yyyy] [name of copyright owner]
+
+ CDDL HEADER END
+
+ Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved.
+
+-->
+
+<!ELEMENT auto_install (ai_instance)>
+
+<!ENTITY % target SYSTEM "target.dtd">
+%target;
+
+<!ENTITY % configuration SYSTEM "configuration.dtd">
+%configuration;
+
+<!ENTITY % software SYSTEM "software.dtd">
+%software;
+
+<!--
+ The source element, if specified, is for post installation changes
+ to the publisher for IPS. The first source element specified
+ will be considered the primary source, all additional sources
+ will be added as secondary sources.
+-->
+
+<!ELEMENT sc_manifest_file EMPTY>
+<!ATTLIST sc_manifest_file name CDATA #REQUIRED>
+<!ATTLIST sc_manifest_file URI CDATA #REQUIRED>
+
+<!ELEMENT sc_embedded_manifest (#PCDATA)>
+<!ATTLIST sc_embedded_manifest name CDATA #REQUIRED>
+
+<!ELEMENT ai_instance (target*, software+, add_drivers?, (configuration*|sc_manifest_file|sc_embedded_manifest), source*)>
+<!ATTLIST ai_instance name CDATA #REQUIRED>
+<!ATTLIST ai_instance http_proxy CDATA #IMPLIED>
+<!ATTLIST ai_instance auto_reboot (true|false) "false">
+
+<!ELEMENT add_drivers (software*, search_all?)>
+
+<!ELEMENT search_all (source?)>
+<!ATTLIST search_all addall (true|false) "false">
View
241 templates/openindiana-148-ai-x86/auto_install/ai_manifest.xml
@@ -0,0 +1,241 @@
+<?xml version="1.0"?>
+<!--
+CDDL HEADER START
+
+The contents of this file are subject to the terms of the
+Common Development and Distribution License (the "License").
+You may not use this file except in compliance with the License.
+
+You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+or http://www.opensolaris.org/os/licensing.
+See the License for the specific language governing permissions
+and limitations under the License.
+
+When distributing Covered Code, include this CDDL HEADER in each
+file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+If applicable, add the following below this CDDL HEADER, with the
+fields enclosed by brackets "[]" replaced with your own identifying
+information: Portions Copyright [yyyy] [name of copyright owner]
+
+CDDL HEADER END
+
+Copyright (c) 2008, 2010, Oracle and/or its affiliates. All rights reserved.
+-->
+<!--
+===============================================================================
+DTD sample manifest for Automatic Installer input manifest specification.
+===============================================================================
+-->
+<!DOCTYPE auto_install SYSTEM "file:///usr/share/auto_install/ai.dtd">
+<auto_install>
+ <!--
+ "auto_reboot" set to "true" may be an issue for x86 machines.
+ The boot order is not guaranteed and may cause unexpected
+ behavior. If auto_reboot is not desired, removing this
+ attribute, e.g. <ai_instance name="sample_ai_manfiest">
+ will work. "auto_reboot" is set to false by default.
+ -->
+ <ai_instance name="sample_ai_manifest" auto_reboot="true">
+ <!--
+ =======================================================================
+ <target/target_device> - selections for AI target Device specification
+
+ Disk criteria are divided into three mutually exclusive groups:
+
+ G1 - deterministic disk criteria
+ ................................
+ * target_device/disk/iscsi parameters
+ * target_device/disk/disk_name, with name_type attribute:
+ one of ctd, volid, devpath or devid
+
+ G2 - non-deterministic disk criteria
+ ..........................
+ * target_device/disk/disk_prop: Any of dev_type, dev_vendor or
+ dev_size
+
+ G3 - keyword disk criteria
+ ...........................
+ * target_device/disk/disk_keyword: "boot_disk"
+
+ Schema ai.dtd enforces following policy:
+
+ * criteria in group G1 are mutually exclusive - only
+ one can be specified at a time
+
+ * groups G1, G2 and G3 are mutually exclusive - i.e.
+ if criteria from G1 is specified, no criteria
+ from G2 or G3 are allowed and vice versa
+
+ * multiple criteria from G2 can be specified
+ =======================================================================
+ -->
+ <target>
+ <target_device>
+ <disk>
+ <!-- G1 -->
+ <!--
+ c#t#d# device name like c0t0d0 or
+ MPXIO name like c0t2000002037CD9F72d0
+ -->
+ <disk_name name="c1t0d0" name_type="ctd"/>
+ <!-- volume name set for instance by means
+ of format(1M) command
+ -->
+ <!--
+ <disk_name name="ai-disk" name_type="volid"/>
+ -->
+ <!-- device id - e.g. can be obtained by means of
+ iostat(1M) -iEn
+ -->
+ <!--
+ <disk_name name="id1,cmdk@AST31000340NS=____________9QJ2LNYY" name_type="devid"/>
+ -->
+ <!-- device path under /devices directory, e.g.
+ /pci@1e,600000/pci@0/pci@9/pci@0/scsi@1/sd@0,0
+ -->
+ <!--
+ <disk_name name="/pci@0/pci@9/pci@0/scsi@1/sd@0,0" name_type="devpath"/>
+ -->
+ <!--
+ ISCSI target device
+
+ <iscsi name="c0d2E0001010F68">
+ <ip>192.168.1.34</ip>
+ </iscsi>
+ -->
+ <!-- G2 -->
+ <!--
+ <disk_prop dev_vendor="hitachi" dev_size="20480mb"/>
+ -->
+ <!-- G3 -->
+ <!--
+ <disk_keyword key="boot_disk"/>
+ -->
+ <!--
+ Uncomment this to force AI to find an existing Solaris
+ partition instead of creating a new one.
+ -->
+ <!--
+ <partition action="use_existing"/>
+ -->
+ <partition name="1" part_type="99">
+ <size start_sector="200" val="20480mb"/>
+ </partition>
+ <partition name="4" part_type="99">
+ <size start_sector="2000" val="20480mb"/>
+ </partition>
+ <slice name="0" is_root="true">
+ <size val="20480mb"/>
+ </slice>
+ <slice name="4">
+ <size val="20480mb"/>
+ </slice>
+ </disk>
+ </target_device>
+ </target>
+ <software name="ips">
+ <source>
+ <publisher name="openindiana.org">
+ <origin name="http://pkg.openindiana.org/dev"/>
+ </publisher>
+ </source>
+ <!--
+ By default the latest build available, in the
+ specified IPS repository, is installed.
+ if another build is required, the build number has
+ to be appended to the 'entire' package in following
+ form:
+ <name="entire@0.5.11-0.build#"/>
+ -->
+ <software_data type="IPS">
+ <name>pkg:/entire</name>
+ <name>pkg:/babel_install</name>
+ </software_data>
+ <!--
+ babel_install and slim_install are group packages used to
+ define the default installation. They are removed here so
+ that they do not inhibit removal of other packages on the installed
+ system
+ -->
+ <software_data action="uninstall" type="IPS">
+ <name>pkg:/babel_install</name>
+ <name>pkg:/slim_install</name>
+ </software_data>
+ </software>
+ <add_drivers>
+ <!--
+ Driver Updates: This section is for adding driver packages to the
+ boot environment before the installation takes place. The
+ installer can then access all devices on the system. The
+ packages installed in the boot environment will also be installed
+ on the target.
+
+ A <search_all> entry performs a search for devices which are
+ missing their drivers. A repository publisher and location
+ may be specified, and that repository and its database will
+ be used. If no publisher and location is specified, the
+ configured repositories will be used.
+ (See pkg publisher command.) If <addall> is specified as
+ "true", then drivers the database says are third-party drivers
+ will be added like all others; otherwise third-party drivers
+ will not be added.
+
+ <search_all addall="true">
+ <source>
+ <publisher name="solaris">
+ <origin name="http://pkg.oracle.com/solaris/release"/>
+ </publisher>
+ </source>
+ </search_all>
+
+ <software> entries are user-provided specifications of packages
+ needed in order to perform the install. types are P5I, SVR4, DU.
+ A <software_data> action of "noinstall" inhibits adding to target.
+
+ P5I: A pkg(5) P5I file, full path is in the source/publisher/origin.
+ Path may be to a local file or an http or ftp specification.
+ <software>
+ <source>
+ <publisher>
+ <origin
+ name=
+ "http://pkg.oracle.com/solaris/release/p5i/0/driver/firewire.p5i"/>
+ </publisher>
+ </source>
+ <software_data type="P5I"/>
+ </software>
+
+ SVR4: An SVR4 package spec. The source/publisher/origin corresponds
+ to the directory containing the packages. The
+ software/software_data/name refers tp the package's top level
+ directory or the package's datastream file.
+
+ <software>
+ <source>
+ <publisher>
+ <origin name="/export/package_dir"/>
+ </publisher>
+ </source>
+ <software_data type="SVR4">
+ <name>my_disk_driver.d</name>
+ </software_data>
+ </software>
+
+ DU: An ITU (Install Time Update) or Driver Update image.
+ The source/publisher/origin refers to the path just above the
+ image's DU directory (if expanded) or the name of the .iso image.
+ All packages in the image will be added.
+
+ <software>
+ <source>
+ <publisher>
+ <origin name="/export/duimages/mydriver.iso"/>
+ </publisher>
+ </source>
+ <software_data type="DU"/>
+ </software>
+ -->
+ <search_all/>
+ </add_drivers>
+ </ai_instance>
+</auto_install>
View
44 templates/openindiana-148-ai-x86/auto_install/configuration.dtd
@@ -0,0 +1,44 @@
+<!--
+ CDDL HEADER START
+
+ The contents of this file are subject to the terms of the
+ Common Development and Distribution License (the "License").
+ You may not use this file except in compliance with the License.
+
+ You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+ or http://www.opensolaris.org/os/licensing.
+ See the License for the specific language governing permissions
+ and limitations under the License.
+
+ When distributing Covered Code, include this CDDL HEADER in each
+ file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+ If applicable, add the following below this CDDL HEADER, with the
+ fields enclosed by brackets "[]" replaced with your own identifying
+ information: Portions Copyright [yyyy] [name of copyright owner]
+
+ CDDL HEADER END
+
+ Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved.
+
+-->
+
+<!ELEMENT configuration (validation?)>
+<!ATTLIST configuration source CDATA #REQUIRED>
+<!ATTLIST configuration dest CDATA #IMPLIED>
+
+<!--
+ Default to user configuration if type is not set.
+-->
+<!ATTLIST configuration type (network|sysconf|user) #IMPLIED>
+
+<!--
+ Configuration name should match the name of the checkpoint consuming
+ the configuration data.
+-->
+<!ATTLIST configuration name CDATA #REQUIRED>
+
+<!ELEMENT validation EMPTY>
+<!ATTLIST validation path CDATA #IMPLIED>
+<!ATTLIST validation args CDATA #IMPLIED>
+<!ATTLIST validation on_error CDATA "stop">
+
View
121 templates/openindiana-148-ai-x86/auto_install/default.xml
@@ -0,0 +1,121 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ CDDL HEADER START
+
+ The contents of this file are subject to the terms of the
+ Common Development and Distribution License (the "License").
+ You may not use this file except in compliance with the License.
+
+ You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+ or http://www.opensolaris.org/os/licensing.
+ See the License for the specific language governing permissions
+ and limitations under the License.
+
+ When distributing Covered Code, include this CDDL HEADER in each
+ file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+ If applicable, add the following below this CDDL HEADER, with the
+ fields enclosed by brackets "[]" replaced with your own identifying
+ information: Portions Copyright [yyyy] [name of copyright owner]
+
+ CDDL HEADER END
+
+ Copyright (c) 2008, 2010, Oracle and/or its affiliates. All rights reserved.
+
+-->
+<!DOCTYPE auto_install SYSTEM "file:///usr/share/auto_install/ai.dtd">
+<auto_install>
+ <ai_instance name="default">
+ <software>
+ <source>
+ <publisher name="openindiana.org">
+ <origin name="http://pkg.openindiana.org/dev"/>
+ </publisher>
+ </source>
+ <!--
+ By default the latest build available, in the specified IPS
+ repository, is installed. If another build is required, the
+ build number has to be appended to the 'entire' package in following
+ form:
+
+ <name>pkg:/entire@0.5.11-0.build#</name>
+ -->
+ <software_data action="install" type="IPS">
+ <name>pkg:/server_install</name>
+ <!--
+ The following packages are required by iSCSI and included
+ by default to make it easier for users to enable iSCSI if
+ desired. They can be deleted from this list if iSCSI isn't
+ used. See iscsiadm(1m) man page for more information.
+ support for iSCSI.
+ -->
+ </software_data>
+ <!--
+ babel_install and slim_install are group packages used to
+ define the default installation. They are removed here so
+ that they do not inhibit removal of other packages on the
+ installed system.
+ -->
+ <software_data action="uninstall" type="IPS">
+ <name>pkg:/server_install</name>
+ </software_data>
+
+ </software>
+ <!--
+ Add missing driver packages to a booted install image so an
+ installation can complete. Add packages to target as well.
+ <search_all> searches and installs from configured repo.
+ -->
+ <add_drivers>
+ <search_all/>
+ </add_drivers>
+ <sc_embedded_manifest name="AI">
+ <!-- <?xml version='1.0'?>
+ <!DOCTYPE service_bundle SYSTEM "/usr/share/lib/xml/dtd/service_bundle.dtd.1">
+ <service_bundle type="profile" name="system configuration">
+ <service name="system/install/config" version="1" type="service">
+ <instance name="default" enabled="true">
+ <property_group name="user_account" type="application">
+ <propval name="login" type="astring" value="vagrant"/>
+ <propval name="password" type="astring" value="$1$MPmczGP9$1SeNO4bw5YgiEJuo/ZkWq1"/>
+ <propval name="description" type="astring" value="default_user"/>
+ <propval name="shell" type="astring" value="/usr/bin/bash"/>
+ <propval name="uid" type='count' value='101'/>
+ <propval name="gid" type='count' value='10'/>
+ <propval name="type" type="astring" value="normal"/>
+ <propval name="roles" type="astring" value="root"/>
+ </property_group>
+
+ <property_group name="root_account" type="application">
+ <propval name="password" type="astring" value="$1$MPmczGP9$1SeNO4bw5YgiEJuo/ZkWq1"/>
+ <propval name="type" type="astring" value="role"/>
+ </property_group>
+
+ <property_group name="other_sc_params" type="application">
+ <propval name="timezone" type="astring" value="GMT"/>
+ <propval name="hostname" type="astring" value="solaris"/>
+ </property_group>
+ </instance>
+ </service>
+ <service name="system/console-login" version="1" type="service">
+ <property_group name="ttymon" type="application">
+ <propval name="terminal_type" type="astring" value="sun"/>
+ </property_group>
+ </service>
+
+ <service name='system/keymap' version='1' type='service'>
+ <instance name='default' enabled='true'>
+ <property_group name='keymap' type='system'>
+ <propval name='layout' type='astring' value='US-English'/>
+ </property_group>
+ </instance>
+ </service>
+
+ <service name="network/physical" version="1" type="service">
+ <instance name="nwam" enabled="true"/>
+ <instance name="default" enabled="false"/>
+ </service>
+ </service_bundle>
+ -->
+ </sc_embedded_manifest>
+ </ai_instance>
+</auto_install>
View
124 templates/openindiana-148-ai-x86/auto_install/default.xml.orig
@@ -0,0 +1,124 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ CDDL HEADER START
+
+ The contents of this file are subject to the terms of the
+ Common Development and Distribution License (the "License").
+ You may not use this file except in compliance with the License.
+
+ You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+ or http://www.opensolaris.org/os/licensing.
+ See the License for the specific language governing permissions
+ and limitations under the License.
+
+ When distributing Covered Code, include this CDDL HEADER in each
+ file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+ If applicable, add the following below this CDDL HEADER, with the
+ fields enclosed by brackets "[]" replaced with your own identifying
+ information: Portions Copyright [yyyy] [name of copyright owner]
+
+ CDDL HEADER END
+
+ Copyright (c) 2008, 2010, Oracle and/or its affiliates. All rights reserved.
+
+-->
+<!DOCTYPE auto_install SYSTEM "file:///usr/share/auto_install/ai.dtd">
+<auto_install>
+ <ai_instance name="default">
+ <software>
+ <source>
+ <publisher name="solaris">
+ <origin name="http://pkg.oracle.com/solaris/release"/>
+ </publisher>
+ </source>
+ <!--
+ By default the latest build available, in the specified IPS
+ repository, is installed. If another build is required, the
+ build number has to be appended to the 'entire' package in following
+ form:
+
+ <name>pkg:/entire@0.5.11-0.build#</name>
+ -->
+ <software_data action="install" type="IPS">
+ <name>pkg:/entire</name>
+ <name>pkg:/babel_install</name>
+ <!--
+ The following packages are required by iSCSI and included
+ by default to make it easier for users to enable iSCSI if
+ desired. They can be deleted from this list if iSCSI isn't
+ used. See iscsiadm(1m) man page for more information.
+ support for iSCSI.
+ -->
+ <name>pkg:/network/iscsi/initiator</name>
+ <name>pkg:/network/iscsi/iser</name>
+ </software_data>
+ <!--
+ babel_install and slim_install are group packages used to
+ define the default installation. They are removed here so
+ that they do not inhibit removal of other packages on the
+ installed system.
+ -->
+ <software_data action="uninstall" type="IPS">
+ <name>pkg:/babel_install</name>
+ <name>pkg:/slim_install</name>
+ </software_data>
+ </software>
+ <!--
+ Add missing driver packages to a booted install image so an
+ installation can complete. Add packages to target as well.
+ <search_all> searches and installs from configured repo.
+ -->
+ <add_drivers>
+ <search_all/>
+ </add_drivers>
+ <sc_embedded_manifest name="AI">
+ <!-- <?xml version='1.0'?>
+ <!DOCTYPE service_bundle SYSTEM "/usr/share/lib/xml/dtd/service_bundle.dtd.1">
+ <service_bundle type="profile" name="system configuration">
+ <service name="system/install/config" version="1" type="service">
+ <instance name="default" enabled="true">
+ <property_group name="user_account" type="application">
+ <propval name="login" type="astring" value="jack"/>
+ <propval name="password" type="astring" value="9Nd/cwBcNWFZg"/>
+ <propval name="description" type="astring" value="default_user"/>
+ <propval name="shell" type="astring" value="/usr/bin/bash"/>
+ <propval name="uid" type='count' value='101'/>
+ <propval name="gid" type='count' value='10'/>
+ <propval name="type" type="astring" value="normal"/>
+ <propval name="roles" type="astring" value="root"/>
+ </property_group>
+
+ <property_group name="root_account" type="application">
+ <propval name="password" type="astring" value="$5$dnRfcZse$Hx4aBQ161Uvn9ZxJFKMdRiy8tCf4gMT2s2rtkFba2y4"/>
+ <propval name="type" type="astring" value="role"/>
+ </property_group>
+
+ <property_group name="other_sc_params" type="application">
+ <propval name="timezone" type="astring" value="GMT"/>
+ <propval name="hostname" type="astring" value="solaris"/>
+ </property_group>
+ </instance>
+ </service>
+ <service name="system/console-login" version="1" type="service">
+ <property_group name="ttymon" type="application">
+ <propval name="terminal_type" type="astring" value="sun"/>
+ </property_group>
+ </service>
+
+ <service name='system/keymap' version='1' type='service'>
+ <instance name='default' enabled='true'>
+ <property_group name='keymap' type='system'>
+ <propval name='layout' type='astring' value='US-English'/>
+ </property_group>
+ </instance>
+ </service>
+
+ <service name="network/physical" version="1" type="service">
+ <instance name="nwam" enabled="true"/>
+ <instance name="default" enabled="false"/>
+ </service>
+ </service_bundle>
+ -->
+ </sc_embedded_manifest>
+ </ai_instance>
+</auto_install>
View
105 templates/openindiana-148-ai-x86/auto_install/sc_profiles/static_network.xml
@@ -0,0 +1,105 @@
+<!--
+CDDL HEADER START
+
+The contents of this file are subject to the terms of the
+Common Development and Distribution License (the "License").
+You may not use this file except in compliance with the License.
+
+You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+or http://www.opensolaris.org/os/licensing.
+See the License for the specific language governing permissions
+and limitations under the License.
+
+When distributing Covered Code, include this CDDL HEADER in each
+file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+If applicable, add the following below this CDDL HEADER, with the
+fields enclosed by brackets "[]" replaced with your own identifying
+information: Portions Copyright [yyyy] [name of copyright owner]
+
+CDDL HEADER END
+
+Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved.
+-->
+
+<!DOCTYPE service_bundle SYSTEM "/usr/share/lib/xml/dtd/service_bundle.dtd.1">
+<service_bundle type="profile" name="system configuration">
+ <service name="system/install/config" version="1" type="service">
+ <instance name="default" enabled="true">
+ <property_group name="user_account" type="application">
+ <propval name="login" type="astring" value="jack"/>
+ <propval name="password" type="astring" value="9Nd/cwBcNWFZg"/>
+ <propval name="description" type="astring" value="default_user"/>
+ <propval name="shell" type="astring" value="/usr/bin/bash"/>
+ <propval name="uid" type='count' value='101'/>
+ <propval name="gid" type='count' value='10'/>
+ <propval name="type" type="astring" value="normal"/>
+ <propval name="roles" type="astring" value="root"/>
+ </property_group>
+
+ <property_group name="root_account" type="application">
+ <propval name="password" type="astring" value="$5$VgppCOxA$ycFmYW4ObRRHhtsGEygDdexk5bugqgSiaSR9niNCouC"/>
+ <propval name="type" type="astring" value="role"/>
+ </property_group>
+
+ <property_group name="other_sc_params" type="application">
+ <propval name="timezone" type="astring" value="GMT"/>
+ <propval name="hostname" type="astring" value="solaris"/>
+ </property_group>
+ </instance>
+ </service>
+
+ <service name="system/console-login" version="1" type="service">
+ <property_group name="ttymon" type="application">
+ <propval name="terminal_type" type="astring" value="sun"/>
+ </property_group>
+ </service>
+
+ <service name='system/keymap' version='1' type='service'>
+ <instance name='default' enabled='true'>
+ <property_group name='keymap' type='system'>
+ <propval name='layout' type='astring' value='US-English'/>
+ </property_group>
+ </instance>
+ </service>
+
+ <service name="network/physical" version="1" type="service">
+ <instance name="nwam" enabled="false"/>
+ <instance name="default" enabled="true"/>
+ </service>
+
+ <service name='network/install' version='1' type='service'>
+ <instance name='default' enabled='true'>
+ <property_group name='install_ipv4_interface' type='application'>
+ <propval name='name' type='astring' value='net0/v4'/>
+ <propval name='address_type' type='astring' value='static'/>
+ <propval name='static_address' type='net_address_v4' value='x.x.x.x/n'/>
+ <propval name='default_route' type='net_address_v4' value='x.x.x.x'/>
+ </property_group>
+
+ <property_group name='install_ipv6_interface' type='application'>
+ <propval name='name' type='astring' value='net0/v6'/>
+ <propval name='address_type' type='astring' value='addrconf'/>
+ <propval name='stateless' type='astring' value='yes'/>
+ <propval name='stateful' type='astring' value='yes'/>
+ </property_group>
+ </instance>
+ </service>
+
+ <service name='network/dns/install' version='1' type='service'>
+ <instance name='default' enabled='true'>
+ <property_group name='install_props' type='application'>
+ <property name='nameserver' type='net_address'>
+ <net_address_list>
+ <value_node value='x.x.x.x'/>
+ </net_address_list>
+ </property>
+ <property name='search' type='astring'>
+ <astring_list>
+ <value_node value='example.com'/>
+ </astring_list>
+ </property>
+ </property_group>
+ </instance>
+ </service>
+</service_bundle>
+
View
105 templates/openindiana-148-ai-x86/auto_install/software.dtd
@@ -0,0 +1,105 @@
+<!--
+ CDDL HEADER START
+
+ The contents of this file are subject to the terms of the
+ Common Development and Distribution License (the "License").
+ You may not use this file except in compliance with the License.
+
+ You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+ or http://www.opensolaris.org/os/licensing.
+ See the License for the specific language governing permissions
+ and limitations under the License.
+
+ When distributing Covered Code, include this CDDL HEADER in each
+ file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+ If applicable, add the following below this CDDL HEADER, with the
+ fields enclosed by brackets "[]" replaced with your own identifying
+ information: Portions Copyright [yyyy] [name of copyright owner]
+
+ CDDL HEADER END
+
+ Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved.
+
+-->
+
+<!ELEMENT software (destination?, source*, software_data*)>
+
+<!--
+ The software name is utilized to allow users to associate
+ a specific software instance with a specific checkpoint.
+ For example, we could have multiple transfer types during the
+ course of an installation process. If a software is
+ to be associated with a specific checkpoint the software inst
+ name must be utilized and must be the same as the associated
+ checkpoint. If no name provided the software elements
+ will be used in order based on the type provided.
+-->
+
+<!ATTLIST software name CDATA #IMPLIED>
+
+<!ELEMENT software_data (name*)>
+<!ATTLIST software_data action (install|uninstall|unpack|noinstall) "install">
+<!ATTLIST software_data type (IPS|SVR4|ARCHIVE|IMAGE|P5I|DU|P5P|FILE|DIR) "IPS">
+
+<!ELEMENT name (#PCDATA)>
+
+<!--
+ Destination element is not required. If specified there can only
+ be one destination per software element. If not specified,
+ the destination is assumed to be an ipkg image and will be
+ discovered automatically.
+-->
+
+<!ELEMENT destination (image|dir)>
+
+<!ELEMENT image (facet*, img_type?, property*)>
+<!ATTLIST image action (create|use_existing) "create">
+<!ATTLIST image index (true|false) "false">
+<!ATTLIST image ssl_key CDATA #IMPLIED>
+<!ATTLIST image ssl_cert CDATA #IMPLIED>
+<!ATTLIST image img_root CDATA #IMPLIED>
+
+<!ELEMENT img_type EMPTY>
+<!ATTLIST img_type completeness (full|partial) #REQUIRED>
+<!ATTLIST img_type zone (true|false) "false">
+
+<!--
+ A property on an image is set via pkg set-property <propname>.
+ So, for use in this schema an example would be:
+ <image>
+ <img_type completeness="partial" zone="true"/>
+ <property val="true">send-uuid</property>
+ <property val="false">flush-content-cache-on-success
+ </property>
+ </image>
+-->
+<!ELEMENT property (#PCDATA)>
+<!ATTLIST property val (true|false) #REQUIRED>
+
+<!--
+ A facet is an option that may be selected or not selected,
+ such as various locales, documentation, etc. This is per
+ image.
+-->
+
+<!ELEMENT facet (#PCDATA)>
+<!ATTLIST facet set (true|false) "true">
+
+<!ELEMENT source (publisher+|dir)>
+
+<!--
+ If name is not specified, and this is an ips install,
+ then publishers known by the specified repository will be added to
+ the image. Origin can be an uri, path to a file, archive, directory.
+-->
+<!ELEMENT publisher (origin+, mirror*)>
+<!ATTLIST publisher name CDATA #IMPLIED>
+
+<!ELEMENT origin EMPTY>
+<!ATTLIST origin name CDATA #REQUIRED>
+
+<!ELEMENT mirror EMPTY>
+<!ATTLIST mirror name CDATA #REQUIRED>
+
+<!ELEMENT dir EMPTY>
+<!ATTLIST dir path CDATA #REQUIRED>
View
196 templates/openindiana-148-ai-x86/auto_install/target.dtd
@@ -0,0 +1,196 @@
+<!--
+ CDDL HEADER START
+
+ The contents of this file are subject to the terms of the
+ Common Development and Distribution License (the "License").
+ You may not use this file except in compliance with the License.
+
+ You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+ or http://www.opensolaris.org/os/licensing.
+ See the License for the specific language governing permissions
+ and limitations under the License.
+
+ When distributing Covered Code, include this CDDL HEADER in each
+ file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+ If applicable, add the following below this CDDL HEADER, with the
+ fields enclosed by brackets "[]" replaced with your own identifying
+ information: Portions Copyright [yyyy] [name of copyright owner]
+
+ CDDL HEADER END
+
+ Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved.
+
+-->
+
+<!ELEMENT target (target_device+)>
+
+<!--
+ A partition and slice element must be specified within a
+ containing element, such as a disk, zpool or vdev. There must
+ be one element, if disk or pool are specified, that is
+ tagged as the root device. If no target_devices are specified
+ the the application must choose the device based on its
+ specific criteria and assume this is the root device.
+-->
+
+<!ELEMENT target_device (disk|zpool+|swap|dump)>
+
+<!--
+ If a disk is specified at the top level, that is not contained
+ within a zpool specification, this disk will be assumed
+ to be the root device. If a disk target is specified
+ at the top level, and then a zpool with the is_root attribute
+ set this is an error. The user can specify a specific
+ slice within the disk to be used as the root slice. If
+ no slice specified then root slice will be 0.
+-->
+
+<!ELEMENT disk ((disk_name|disk_prop|disk_keyword|iscsi), partition*, slice*)>
+<!--
+ Disk name can be one of ctd, volid, devpath or devid name.
+ Default is "ctd".
+-->
+<!ELEMENT disk_name EMPTY>
+<!ATTLIST disk_name name CDATA #REQUIRED>
+<!ATTLIST disk_name name_type (ctd|volid|devpath|devid) "ctd">
+
+<!ELEMENT disk_prop EMPTY>
+<!ATTLIST disk_prop dev_type CDATA #IMPLIED>
+<!ATTLIST disk_prop dev_vendor CDATA #IMPLIED>
+<!ATTLIST disk_prop dev_size CDATA #IMPLIED>
+
+<!ELEMENT disk_keyword EMPTY>
+<!ATTLIST disk_keyword key (boot_disk) #REQUIRED>
+
+<!--
+ A vdev must start with a disk element. The slice and partition
+ elements use numerical names, such as 0 or 1. A disk must
+ be named for a vdev, using the disk element notation.
+-->
+
+<!ELEMENT vdev (disk+, partition*, slice*)>
+<!ATTLIST vdev redundancy (mirror|raidz|raidz1|raidz2|raidz3|none) "mirror">
+
+<!ELEMENT dataset (zvol|filesystem)>
+
+<!--
+ No size specification means we create the slice the whole size of
+ the disk. If multiple slices specified for one disk, with
+ no sizes, this is an error. The attribute is_root is only
+ valid when a slice is part of a disk definition, outside of
+ a zpool definition. The user can request to format the disk
+ with multiple slices but specify one that they want to
+ be included in the root pool.
+
+-->
+
+
+<!ELEMENT slice (size?)>
+<!ATTLIST slice action (create|delete|preserve) "create">
+<!ATTLIST slice name CDATA #REQUIRED>
+<!ATTLIST slice is_root (true|false) #IMPLIED>
+
+<!--
+ The use of the 'force' attribute on slice specifies that on
+ a 'create' of a slice that already exists we overwrite the
+ slice if force==true. Otherwise the application errors.
+-->
+
+<!ATTLIST slice force (true|false) "false">
+
+<!--
+ If partition size is not provided the partition will be the
+ remaining free size left on the disk.
+-->
+
+<!ELEMENT partition (slice*, size?)>
+<!ATTLIST partition action (create|delete|use_existing) "create">
+
+<!--
+ A partition name is a numeric value, e.g. 1, will be
+ interpreted as partition 1. If a name is not provided
+ the user must specify the use_existing action, otherwise
+ this will be an invalid specification.
+-->
+<!ATTLIST partition name CDATA #IMPLIED>
+<!ATTLIST partition part_type CDATA "191">
+
+<!--
+ Size must be suffixed with a size unit. i.e 100gb, 2secs, 2tb.
+-->
+<!ELEMENT size EMPTY>
+<!ATTLIST size val CDATA #REQUIRED>
+<!ATTLIST size start_sector CDATA #IMPLIED>
+
+
+<!ELEMENT options (#PCDATA)>
+
+<!--
+ Option elements allow any string type, and this string is parsable
+ character data, should the application require it.
+-->
+
+<!--
+ Filesystem options are for zfs filesystems. The format of these
+ is this: "-o property=value". Any editable ZFS filesystem property
+ can be set at creation time. Multiple -o options can be
+ specified. An error will occur if a propert is specified in
+ multiple -o options.
+-->
+
+<!ELEMENT filesystem (options?)>
+<!ATTLIST filesystem name CDATA #REQUIRED>
+<!ATTLIST filesystem action (create|delete|preserve) "create">
+<!ATTLIST filesystem mountpoint CDATA #IMPLIED>
+
+<!--
+ Redundancy needs to be part of the vdev grouping,
+ not a property on zpool itself. There can be multiple
+ vdev groupings within one pool configuration.
+-->
+
+<!ELEMENT zpool (vdev*, dataset*, pool_options?, dataset_options?)>
+<!ATTLIST zpool action (create|delete|preserve|use_existing) "create">
+<!ATTLIST zpool name CDATA #REQUIRED>
+<!ATTLIST zpool is_root (true|false) "false">
+
+<!--
+ The pool option string, which is also a parsable string,
+ can include both pool options and filesystem options.
+ For pool options the format is: "-o property=value". For
+ filesystem properties the format is: "-O file-system-property=value"
+ Both of these typs of properties can be set in the option string.
+ An example of combining these in the option string:
+
+"-o altroot=/a -o autoexpand=off -o delegation=off -O atime=on -O compression=lzbj"
+-->
+
+<!ELEMENT pool_options (options)>
+<!ELEMENT dataset_options (options)>
+
+
+<!ELEMENT zvol (options?, size) >
+<!ATTLIST zvol action (create|delete|preserve|use_existing) "create">
+<!ATTLIST zvol name CDATA #REQUIRED>
+
+<!--
+ ISCSI does not have an action attribute. We use iscsi devices but
+ we do not operate directly on them.
+-->
+<!ELEMENT iscsi (ip)>
+<!ATTLIST iscsi name CDATA #REQUIRED>
+<!ATTLIST iscsi source CDATA #IMPLIED>
+<!ATTLIST iscsi target_lun CDATA #IMPLIED>
+<!ATTLIST iscsi target_port CDATA #IMPLIED>
+
+<!ELEMENT ip (#PCDATA)>
+
+<!--
+ Swap and dump are optional with Solaris install.
+-->
+
+<!ELEMENT swap (zvol)>
+<!ATTLIST swap no_swap (true|false) "false">
+
+<!ELEMENT dump (zvol)>
+<!ATTLIST dump no_dump (true|false) "false">
View
121 templates/openindiana-148-ai-x86/default.xml
@@ -0,0 +1,121 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ CDDL HEADER START
+
+ The contents of this file are subject to the terms of the
+ Common Development and Distribution License (the "License").
+ You may not use this file except in compliance with the License.
+
+ You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+ or http://www.opensolaris.org/os/licensing.
+ See the License for the specific language governing permissions
+ and limitations under the License.
+
+ When distributing Covered Code, include this CDDL HEADER in each
+ file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+ If applicable, add the following below this CDDL HEADER, with the
+ fields enclosed by brackets "[]" replaced with your own identifying
+ information: Portions Copyright [yyyy] [name of copyright owner]
+
+ CDDL HEADER END
+
+ Copyright (c) 2008, 2010, Oracle and/or its affiliates. All rights reserved.
+
+-->
+<!DOCTYPE auto_install SYSTEM "file:///usr/share/auto_install/ai.dtd">
+<auto_install>
+ <ai_instance name="default">
+ <software>
+ <source>
+ <publisher name="openindiana.org">
+ <origin name="http://pkg.openindiana.org/dev"/>
+ </publisher>
+ </source>
+ <!--
+ By default the latest build available, in the specified IPS
+ repository, is installed. If another build is required, the
+ build number has to be appended to the 'entire' package in following
+ form:
+
+ <name>pkg:/entire@0.5.11-0.build#</name>
+ -->
+ <software_data action="install" type="IPS">
+ <name>pkg:/server_install</name>
+ <!--
+ The following packages are required by iSCSI and included
+ by default to make it easier for users to enable iSCSI if
+ desired. They can be deleted from this list if iSCSI isn't
+ used. See iscsiadm(1m) man page for more information.
+ support for iSCSI.
+ -->
+ </software_data>
+ <!--
+ babel_install and slim_install are group packages used to
+ define the default installation. They are removed here so
+ that they do not inhibit removal of other packages on the
+ installed system.
+ -->
+ <software_data action="uninstall" type="IPS">
+ <name>pkg:/server_install</name>
+ </software_data>
+
+ </software>
+ <!--
+ Add missing driver packages to a booted install image so an
+ installation can complete. Add packages to target as well.
+ <search_all> searches and installs from configured repo.
+ -->
+ <add_drivers>
+ <search_all/>
+ </add_drivers>
+ <sc_embedded_manifest name="AI">
+ <!-- <?xml version='1.0'?>
+ <!DOCTYPE service_bundle SYSTEM "/usr/share/lib/xml/dtd/service_bundle.dtd.1">
+ <service_bundle type="profile" name="system configuration">
+ <service name="system/install/config" version="1" type="service">
+ <instance name="default" enabled="true">
+ <property_group name="user_account" type="application">
+ <propval name="login" type="astring" value="vagrant"/>
+ <propval name="password" type="astring" value="$1$MPmczGP9$1SeNO4bw5YgiEJuo/ZkWq1"/>
+ <propval name="description" type="astring" value="default_user"/>
+ <propval name="shell" type="astring" value="/usr/bin/bash"/>
+ <propval name="uid" type='count' value='101'/>
+ <propval name="gid" type='count' value='10'/>
+ <propval name="type" type="astring" value="normal"/>
+ <propval name="roles" type="astring" value="root"/>
+ </property_group>
+
+ <property_group name="root_account" type="application">
+ <propval name="password" type="astring" value="$1$MPmczGP9$1SeNO4bw5YgiEJuo/ZkWq1"/>
+ <propval name="type" type="astring" value="role"/>
+ </property_group>
+
+ <property_group name="other_sc_params" type="application">
+ <propval name="timezone" type="astring" value="GMT"/>
+ <propval name="hostname" type="astring" value="solaris"/>
+ </property_group>
+ </instance>
+ </service>
+ <service name="system/console-login" version="1" type="service">
+ <property_group name="ttymon" type="application">
+ <propval name="terminal_type" type="astring" value="sun"/>
+ </property_group>
+ </service>
+
+ <service name='system/keymap' version='1' type='service'>
+ <instance name='default' enabled='true'>
+ <property_group name='keymap' type='system'>
+ <propval name='layout' type='astring' value='US-English'/>
+ </property_group>
+ </instance>
+ </service>
+
+ <service name="network/physical" version="1" type="service">
+ <instance name="nwam" enabled="true"/>
+ <instance name="default" enabled="false"/>
+ </service>
+ </service_bundle>
+ -->
+ </sc_embedded_manifest>
+ </ai_instance>
+</auto_install>
View
59 templates/openindiana-148-ai-x86/definition.rb
@@ -0,0 +1,59 @@
+Veewee::Session.declare({
+ :cpu_count => '2', :memory_size=> '2048',
+ #Disk size needs to be 12Gig +
+ :disk_size => '15140', :disk_format => 'VDI', :hostiocache => 'on', :use_hw_virt_ext => 'on',
+ :os_type_id => 'OpenSolaris',
+ :iso_file => "oi-dev-148-ai-x86.iso",
+ :iso_src => "http://dlc.openindiana.org/isos/148/oi-dev-148-ai-x86.iso",
+ :iso_md5 => "a8e17584f58ff1d1c90464d8051a8f38",
+ :iso_download_timeout => 1000,
+ :boot_wait => "15", :boot_cmd_sequence => [
+ 'e',
+ 'e',
+ '<Backspace>'*22,
+ 'false',
+ '<Enter>',
+ 'b',
+ '<Wait>'*190,
+
+ # login as root
+ 'root<Enter><Wait>',
+ 'openindiana<Enter><Wait>',
+
+ # Background check when install is complete, add vagrant to the sudo
+ 'while (true); do sleep 5; test -f /a/etc/sudoers && grep -v "vagrant" "/a/etc/sudoers" 2> /dev/null',
+ ' && echo "vagrant ALL=(ALL) NOPASSWD: ALL" >> /a/etc/sudoers && break ; done &<Enter>',
+
+ # Background check to see if install has finished and reboot
+ '<Enter>while (true); do grep "You may wish to reboot" "/tmp/install_log" 2> /dev/null',
+ ' && reboot; sleep 10; done &<Enter>',
+
+
+ # Wait for 5 seconds, so the webserver will be up
+ 'sleep 5; curl http://%IP%:%PORT%/default.xml -o default.xml;',
+ 'cp default.xml /tmp/ai_combined_manifest.xml;',
+
+ # Start the installer
+ 'svcadm enable svc:/application/auto-installer:default;',
+ '<Wait>'*2,
+ # Wait for the installer to launch and display the logfile
+ 'sleep 3; tail -f /tmp/install_log<Enter>'
+
+ ],
+ :kickstart_port => "7122", :kickstart_timeout => 10000, :kickstart_file => "default.xml",
+ :ssh_login_timeout => "100", :ssh_user => "vagrant", :ssh_password => "vagrant", :ssh_key => "",
+ :ssh_host_port => "7222", :ssh_guest_port => "22",
+ :sudo_cmd => "echo '%p'|sudo -S bash ./%f",
+ :shutdown_cmd => "/sbin/halt -h -p",
+ :postinstall_files => [ "postinstall.sh"], :postinstall_timeout => 10000
+})
+
+# Notes:
+# http://dlc.sun.com/osol/docs/content/dev/AIinstall/aimanifest.html
+# http://download.oracle.com/docs/cd/E19963-01/html/820-6566/media-ai.html#gklco
+# default.xml
+# /.cdrom/auto_install/default.xml
+# /usr/share/auto_install/default.xml
+
+#tail -f /tmp/install.log
+
View
96 templates/openindiana-148-ai-x86/postinstall.sh
@@ -0,0 +1,96 @@
+# http://projects.puppetlabs.com/projects/1/wiki/Puppet_Solaris
+
+# Add the opencsw package site
+export PATH=/usr/bin:/usr/sbin:$PATH
+
+yes|/usr/sbin/pkgadd -d http://mirror.opencsw.org/opencsw/pkgutil-`uname -p`.pkg all
+
+/opt/csw/bin/pkgutil -U
+
+# We need some header stuff and so on to get gcc going
+# Tip thx to - https://wiki.chipp.ch/twiki/bin/view/CmsTier3/InstallationSolaris
+/usr/bin/pkg install SUNWarc SUNWsfwhea SUNWhea SUNWtoo
+/usr/bin/pkg install math/header-math
+
+/opt/csw/bin/pkgutil -y -i CSWgsed
+/opt/csw/bin/pkgutil -y -i CSWruby18-gcc4
+/opt/csw/bin/pkgutil -y -i CSWruby18-dev
+/opt/csw/bin/pkgutil -y -i CSWrubygems
+
+# These are needed to get a compiler working
+# Mainly because chef depends on compiling some native gems
+export PATH=/opt/csw/bin:$PATH
+export PATH=/opt/csw/gcc4/bin:$PATH
+
+/opt/csw/bin/pkgutil -y -i CSWgcc4core
+
+
+/opt/csw/bin/pkgutil -y -i CSWgcc4g++
+/opt/csw/bin/pkgutil -y -i CSWreadline
+/opt/csw/bin/pkgutil -y -i CSWzlib
+/opt/csw/bin/pkgutil -y -i CSWossldevel
+
+# prevents ":in `require': no such file to load -- mkmf (LoadError)"
+# yes|/opt/csw/bin/pkgutil -i CSWruby
+# used SUNWspro
+# has entries in /opt/csw/lib/ruby/1.8/i386-solaris2.9/rbconfig.rb
+# luckily there is another one
+# For some reason these don't get installed ok, we need to give them a slight kick again
+/opt/csw/bin/pkgutil -y -i CSWgcc4core
+/opt/csw/bin/pkgutil -y -i CSWruby18-gcc4
+
+# no solaris2.11 .... mkheaders here ! needs some fixing ??
+# /opt/csw/gcc4/libexec/gcc/i386-pc-solaris2.10/4.3.3/install-tools/mkheaders
+/opt/csw/gcc4/libexec/gcc/i386-pc-solaris2.8/4.3.3/install-tools/mkheaders
+
+/opt/csw/sbin/alternatives --display rbconfig18
+/opt/csw/sbin/alternatives --set rbconfig18 /opt/csw/lib/ruby/1.8/i386-solaris2.9/rbconfig.rb.gcc4
+
+/opt/csw/bin/gem install puppet --no-ri --no-rdoc
+/opt/csw/bin/gem install chef --no-ri --no-rdoc
+
+#Installing vagrant keys
+mkdir /export/home/vagrant/.ssh
+chmod 700 /export/home/vagrant/.ssh
+cd /export/home/vagrant/.ssh
+/usr/bin/wget --no-check-certificate 'http://github.com/mitchellh/vagrant/raw/master/keys/vagrant.pub' -O authorized_keys
+chown -R vagrant /export/home/vagrant/.ssh
+
+#Installing the virtualbox guest additions
+VBOX_VERSION=$(cat /export/home/vagrant/.vbox_version)
+cd /tmp
+/usr/bin/wget http://download.virtualbox.org/virtualbox/4.0.6/VirtualBox-4.0.6-71344-SunOS.tar.gz
+/usr/gnu/bin/tar -xzvf VirtualBox-4.0.6-71344-SunOS.tar.gz
+/usr/bin/pkgtrans VirtualBox-4.0.6-SunOS-r71344.pkg . all
+yes|/usr/sbin/pkgadd -d . SUNWvbox
+
+# Fix the shells to include the /opt/csw directories
+
+echo "export PATH=/opt/csw/bin:/opt/csw/sbin:$PATH" >> /root/.profile
+echo "export PATH=/opt/csw/bin:/opt/csw/sbin:$PATH" >> /export/home/vagrant/.profile
+
+echo "Note: validation of this box wil fail, as it's not linux based, working on that"
+
+exit
+
+#Inspiration for ruby enterprise
+
+PATH=$PATH:/opt/csw/bin
+wget http://rubyforge.org/frs/download.php/71096/ruby-enterprise-1.8.7-2010.02.tar.gz
+tar xzvf ruby-enterprise-1.8.7-2010.02.tar.gz
+./ruby-enterprise-1.8.7-2010.02/installer -a /opt/ruby --no-dev-docs --dont-install-useful-gems
+
+# http://www.darkaslight.com/blog/entry/38-Compiling-Ruby-Enterprise-Edition-on-Solaris-10
+#* To install C compiler:
+#* To install C++ compiler:
+#* To install Zlib development headers:
+#* To install OpenSSL development headers:
+#* To install GNU Readline development headers:
+#
+#bash-3.00# wget http://rubyforge.org/frs/download.php/38084/ruby-enterprise-1.8.6-20080507.tar.gz
+#bash-3.00# gtar xvf ruby-enterprise-1.8.6-20080507.tar.gz
+#bash-3.00# cd ruby-enterprise-1.8.6-20080507/source
+#bash-3.00# ./configure --with-openssl-dir=/opt/csw --with-readline-dir=/opt/csw \
+#--with-iconv-dir=/opt/csw --prefix=/opt/rubyenterprise
+#bash-3.00# make
+#bash-3.00# make install
Please sign in to comment.
Something went wrong with that request. Please try again.