veewee 0.1.17 → 0.1.18
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile.lock +1 -1
- data/lib/veewee/scancode.rb +39 -21
- data/lib/veewee/session.rb +15 -4
- data/lib/veewee/version.rb +1 -1
- data/templates/Archlinux-latest/definition.rb +10 -11
- data/templates/Archlinux-latest/postinstall.sh +12 -12
- data/templates/CentOS-4.8-i386/definition.rb +6 -7
- data/templates/CentOS-4.8-i386/postinstall.sh +7 -7
- data/templates/CentOS-5.5-i386-netboot/definition.rb +16 -17
- data/templates/CentOS-5.5-i386-netboot/postinstall.sh +6 -11
- data/templates/CentOS-5.5-i386/definition.rb +15 -16
- data/templates/CentOS-5.5-i386/postinstall.sh +6 -11
- data/templates/Debian-6.0-amd64-netboot/definition.rb +18 -19
- data/templates/Debian-6.0-amd64-netboot/postinstall.sh +4 -5
- data/templates/Debian-6.0-amd64-netboot/preseed.cfg +1 -1
- data/templates/Debian-6.0-i386-netboot/definition.rb +4 -5
- data/templates/Debian-6.0-i386-netboot/postinstall.sh +1 -1
- 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 +52 -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 +52 -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 +52 -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 +52 -0
- data/templates/Sysrescuecd-2.0.0-experimental/definition.rb +11 -12
- data/templates/freebsd-8.2-experimental/definition.rb +9 -10
- data/templates/freebsd-8.2-experimental/postinstall.sh +16 -16
- data/templates/freebsd-8.2-pcbsd-i386/definition.rb +16 -17
- data/templates/freebsd-8.2-pcbsd-i386/pcinstall.fbg.cfg +1 -1
- data/templates/freebsd-8.2-pcbsd-i386/postinstall.sh +2 -2
- data/templates/solaris-11-express-i386-experimental/auto_install/ai.dtd +58 -0
- data/templates/solaris-11-express-i386-experimental/auto_install/ai_manifest.xml +241 -0
- data/templates/solaris-11-express-i386-experimental/auto_install/configuration.dtd +44 -0
- data/templates/solaris-11-express-i386-experimental/auto_install/default.xml +124 -0
- data/templates/solaris-11-express-i386-experimental/auto_install/default.xml.orig +124 -0
- data/templates/solaris-11-express-i386-experimental/auto_install/sc_profiles/static_network.xml +105 -0
- data/templates/solaris-11-express-i386-experimental/auto_install/software.dtd +105 -0
- data/templates/solaris-11-express-i386-experimental/auto_install/target.dtd +196 -0
- data/templates/solaris-11-express-i386-experimental/default.xml +121 -0
- data/templates/solaris-11-express-i386-experimental/definition.rb +65 -0
- data/templates/solaris-11-express-i386-experimental/postinstall.sh +72 -0
- data/templates/ubuntu-10.04.2-server-amd64/definition.rb +24 -0
- data/templates/{ubuntu-10.04.1-server-amd64 → ubuntu-10.04.2-server-amd64}/postinstall.sh +3 -4
- data/templates/{ubuntu-10.04.1-server-amd64 → ubuntu-10.04.2-server-amd64}/preseed.cfg +3 -3
- data/templates/ubuntu-10.04.2-server-i386/definition.rb +24 -0
- data/templates/{ubuntu-10.04.1-server-i386 → ubuntu-10.04.2-server-i386}/postinstall.sh +2 -3
- data/templates/{ubuntu-10.04.1-server-i386 → ubuntu-10.04.2-server-i386}/postinstall2.sh +0 -0
- data/templates/{ubuntu-10.04.1-server-i386 → ubuntu-10.04.2-server-i386}/preseed.cfg +3 -3
- data/templates/ubuntu-10.10-server-amd64-netboot/definition.rb +16 -17
- data/templates/ubuntu-10.10-server-amd64-netboot/postinstall.sh +2 -3
- data/templates/ubuntu-10.10-server-amd64-netboot/preseed.cfg +2 -2
- data/templates/ubuntu-10.10-server-amd64/definition.rb +16 -17
- data/templates/ubuntu-10.10-server-amd64/postinstall.sh +2 -3
- data/templates/ubuntu-10.10-server-amd64/preseed.cfg +3 -3
- data/templates/ubuntu-10.10-server-i386-netboot/definition.rb +16 -17
- data/templates/ubuntu-10.10-server-i386-netboot/postinstall.sh +3 -4
- data/templates/ubuntu-10.10-server-i386-netboot/preseed.cfg +2 -2
- data/templates/ubuntu-10.10-server-i386/definition.rb +16 -17
- data/templates/ubuntu-10.10-server-i386/postinstall.sh +3 -4
- data/templates/ubuntu-10.10-server-i386/preseed.cfg +4 -4
- metadata +34 -11
- data/templates/ubuntu-10.04.1-server-amd64/definition.rb +0 -25
- data/templates/ubuntu-10.04.1-server-i386/definition.rb +0 -25
@@ -0,0 +1,44 @@
|
|
1
|
+
<!--
|
2
|
+
CDDL HEADER START
|
3
|
+
|
4
|
+
The contents of this file are subject to the terms of the
|
5
|
+
Common Development and Distribution License (the "License").
|
6
|
+
You may not use this file except in compliance with the License.
|
7
|
+
|
8
|
+
You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
|
9
|
+
or http://www.opensolaris.org/os/licensing.
|
10
|
+
See the License for the specific language governing permissions
|
11
|
+
and limitations under the License.
|
12
|
+
|
13
|
+
When distributing Covered Code, include this CDDL HEADER in each
|
14
|
+
file and include the License file at usr/src/OPENSOLARIS.LICENSE.
|
15
|
+
If applicable, add the following below this CDDL HEADER, with the
|
16
|
+
fields enclosed by brackets "[]" replaced with your own identifying
|
17
|
+
information: Portions Copyright [yyyy] [name of copyright owner]
|
18
|
+
|
19
|
+
CDDL HEADER END
|
20
|
+
|
21
|
+
Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved.
|
22
|
+
|
23
|
+
-->
|
24
|
+
|
25
|
+
<!ELEMENT configuration (validation?)>
|
26
|
+
<!ATTLIST configuration source CDATA #REQUIRED>
|
27
|
+
<!ATTLIST configuration dest CDATA #IMPLIED>
|
28
|
+
|
29
|
+
<!--
|
30
|
+
Default to user configuration if type is not set.
|
31
|
+
-->
|
32
|
+
<!ATTLIST configuration type (network|sysconf|user) #IMPLIED>
|
33
|
+
|
34
|
+
<!--
|
35
|
+
Configuration name should match the name of the checkpoint consuming
|
36
|
+
the configuration data.
|
37
|
+
-->
|
38
|
+
<!ATTLIST configuration name CDATA #REQUIRED>
|
39
|
+
|
40
|
+
<!ELEMENT validation EMPTY>
|
41
|
+
<!ATTLIST validation path CDATA #IMPLIED>
|
42
|
+
<!ATTLIST validation args CDATA #IMPLIED>
|
43
|
+
<!ATTLIST validation on_error CDATA "stop">
|
44
|
+
|
@@ -0,0 +1,124 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<!--
|
3
|
+
CDDL HEADER START
|
4
|
+
|
5
|
+
The contents of this file are subject to the terms of the
|
6
|
+
Common Development and Distribution License (the "License").
|
7
|
+
You may not use this file except in compliance with the License.
|
8
|
+
|
9
|
+
You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
|
10
|
+
or http://www.opensolaris.org/os/licensing.
|
11
|
+
See the License for the specific language governing permissions
|
12
|
+
and limitations under the License.
|
13
|
+
|
14
|
+
When distributing Covered Code, include this CDDL HEADER in each
|
15
|
+
file and include the License file at usr/src/OPENSOLARIS.LICENSE.
|
16
|
+
If applicable, add the following below this CDDL HEADER, with the
|
17
|
+
fields enclosed by brackets "[]" replaced with your own identifying
|
18
|
+
information: Portions Copyright [yyyy] [name of copyright owner]
|
19
|
+
|
20
|
+
CDDL HEADER END
|
21
|
+
|
22
|
+
Copyright (c) 2008, 2010, Oracle and/or its affiliates. All rights reserved.
|
23
|
+
|
24
|
+
-->
|
25
|
+
<!DOCTYPE auto_install SYSTEM "file:///usr/share/auto_install/ai.dtd">
|
26
|
+
<auto_install>
|
27
|
+
<ai_instance name="default">
|
28
|
+
<software>
|
29
|
+
<source>
|
30
|
+
<publisher name="solaris">
|
31
|
+
<origin name="http://pkg.oracle.com/solaris/release"/>
|
32
|
+
</publisher>
|
33
|
+
</source>
|
34
|
+
<!--
|
35
|
+
By default the latest build available, in the specified IPS
|
36
|
+
repository, is installed. If another build is required, the
|
37
|
+
build number has to be appended to the 'entire' package in following
|
38
|
+
form:
|
39
|
+
|
40
|
+
<name>pkg:/entire@0.5.11-0.build#</name>
|
41
|
+
-->
|
42
|
+
<software_data action="install" type="IPS">
|
43
|
+
<name>pkg:/SUNWcsd</name>
|
44
|
+
<name>pkg:/SUNWcs</name>
|
45
|
+
<name>pkg:/babel_install</name>
|
46
|
+
<!--
|
47
|
+
The following packages are required by iSCSI and included
|
48
|
+
by default to make it easier for users to enable iSCSI if
|
49
|
+
desired. They can be deleted from this list if iSCSI isn't
|
50
|
+
used. See iscsiadm(1m) man page for more information.
|
51
|
+
support for iSCSI.
|
52
|
+
-->
|
53
|
+
</software_data>
|
54
|
+
<!--
|
55
|
+
babel_install and slim_install are group packages used to
|
56
|
+
define the default installation. They are removed here so
|
57
|
+
that they do not inhibit removal of other packages on the
|
58
|
+
installed system.
|
59
|
+
-->
|
60
|
+
<software_data action="uninstall" type="IPS">
|
61
|
+
<name>pkg:/babel_install</name>
|
62
|
+
<name>pkg:/slim_install</name>
|
63
|
+
</software_data>
|
64
|
+
|
65
|
+
</software>
|
66
|
+
<!--
|
67
|
+
Add missing driver packages to a booted install image so an
|
68
|
+
installation can complete. Add packages to target as well.
|
69
|
+
<search_all> searches and installs from configured repo.
|
70
|
+
-->
|
71
|
+
<add_drivers>
|
72
|
+
<search_all/>
|
73
|
+
</add_drivers>
|
74
|
+
<sc_embedded_manifest name="AI">
|
75
|
+
<!-- <?xml version='1.0'?>
|
76
|
+
<!DOCTYPE service_bundle SYSTEM "/usr/share/lib/xml/dtd/service_bundle.dtd.1">
|
77
|
+
<service_bundle type="profile" name="system configuration">
|
78
|
+
<service name="system/install/config" version="1" type="service">
|
79
|
+
<instance name="default" enabled="true">
|
80
|
+
<property_group name="user_account" type="application">
|
81
|
+
<propval name="login" type="astring" value="vagrant"/>
|
82
|
+
<propval name="password" type="astring" value="$1$MPmczGP9$1SeNO4bw5YgiEJuo/ZkWq1"/>
|
83
|
+
<propval name="description" type="astring" value="default_user"/>
|
84
|
+
<propval name="shell" type="astring" value="/usr/bin/bash"/>
|
85
|
+
<propval name="uid" type='count' value='101'/>
|
86
|
+
<propval name="gid" type='count' value='10'/>
|
87
|
+
<propval name="type" type="astring" value="normal"/>
|
88
|
+
<propval name="roles" type="astring" value="root"/>
|
89
|
+
</property_group>
|
90
|
+
|
91
|
+
<property_group name="root_account" type="application">
|
92
|
+
<propval name="password" type="astring" value="$1$MPmczGP9$1SeNO4bw5YgiEJuo/ZkWq1"/>
|
93
|
+
<propval name="type" type="astring" value="role"/>
|
94
|
+
</property_group>
|
95
|
+
|
96
|
+
<property_group name="other_sc_params" type="application">
|
97
|
+
<propval name="timezone" type="astring" value="GMT"/>
|
98
|
+
<propval name="hostname" type="astring" value="solaris"/>
|
99
|
+
</property_group>
|
100
|
+
</instance>
|
101
|
+
</service>
|
102
|
+
<service name="system/console-login" version="1" type="service">
|
103
|
+
<property_group name="ttymon" type="application">
|
104
|
+
<propval name="terminal_type" type="astring" value="sun"/>
|
105
|
+
</property_group>
|
106
|
+
</service>
|
107
|
+
|
108
|
+
<service name='system/keymap' version='1' type='service'>
|
109
|
+
<instance name='default' enabled='true'>
|
110
|
+
<property_group name='keymap' type='system'>
|
111
|
+
<propval name='layout' type='astring' value='US-English'/>
|
112
|
+
</property_group>
|
113
|
+
</instance>
|
114
|
+
</service>
|
115
|
+
|
116
|
+
<service name="network/physical" version="1" type="service">
|
117
|
+
<instance name="nwam" enabled="true"/>
|
118
|
+
<instance name="default" enabled="false"/>
|
119
|
+
</service>
|
120
|
+
</service_bundle>
|
121
|
+
-->
|
122
|
+
</sc_embedded_manifest>
|
123
|
+
</ai_instance>
|
124
|
+
</auto_install>
|
@@ -0,0 +1,124 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<!--
|
3
|
+
CDDL HEADER START
|
4
|
+
|
5
|
+
The contents of this file are subject to the terms of the
|
6
|
+
Common Development and Distribution License (the "License").
|
7
|
+
You may not use this file except in compliance with the License.
|
8
|
+
|
9
|
+
You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
|
10
|
+
or http://www.opensolaris.org/os/licensing.
|
11
|
+
See the License for the specific language governing permissions
|
12
|
+
and limitations under the License.
|
13
|
+
|
14
|
+
When distributing Covered Code, include this CDDL HEADER in each
|
15
|
+
file and include the License file at usr/src/OPENSOLARIS.LICENSE.
|
16
|
+
If applicable, add the following below this CDDL HEADER, with the
|
17
|
+
fields enclosed by brackets "[]" replaced with your own identifying
|
18
|
+
information: Portions Copyright [yyyy] [name of copyright owner]
|
19
|
+
|
20
|
+
CDDL HEADER END
|
21
|
+
|
22
|
+
Copyright (c) 2008, 2010, Oracle and/or its affiliates. All rights reserved.
|
23
|
+
|
24
|
+
-->
|
25
|
+
<!DOCTYPE auto_install SYSTEM "file:///usr/share/auto_install/ai.dtd">
|
26
|
+
<auto_install>
|
27
|
+
<ai_instance name="default">
|
28
|
+
<software>
|
29
|
+
<source>
|
30
|
+
<publisher name="solaris">
|
31
|
+
<origin name="http://pkg.oracle.com/solaris/release"/>
|
32
|
+
</publisher>
|
33
|
+
</source>
|
34
|
+
<!--
|
35
|
+
By default the latest build available, in the specified IPS
|
36
|
+
repository, is installed. If another build is required, the
|
37
|
+
build number has to be appended to the 'entire' package in following
|
38
|
+
form:
|
39
|
+
|
40
|
+
<name>pkg:/entire@0.5.11-0.build#</name>
|
41
|
+
-->
|
42
|
+
<software_data action="install" type="IPS">
|
43
|
+
<name>pkg:/entire</name>
|
44
|
+
<name>pkg:/babel_install</name>
|
45
|
+
<!--
|
46
|
+
The following packages are required by iSCSI and included
|
47
|
+
by default to make it easier for users to enable iSCSI if
|
48
|
+
desired. They can be deleted from this list if iSCSI isn't
|
49
|
+
used. See iscsiadm(1m) man page for more information.
|
50
|
+
support for iSCSI.
|
51
|
+
-->
|
52
|
+
<name>pkg:/network/iscsi/initiator</name>
|
53
|
+
<name>pkg:/network/iscsi/iser</name>
|
54
|
+
</software_data>
|
55
|
+
<!--
|
56
|
+
babel_install and slim_install are group packages used to
|
57
|
+
define the default installation. They are removed here so
|
58
|
+
that they do not inhibit removal of other packages on the
|
59
|
+
installed system.
|
60
|
+
-->
|
61
|
+
<software_data action="uninstall" type="IPS">
|
62
|
+
<name>pkg:/babel_install</name>
|
63
|
+
<name>pkg:/slim_install</name>
|
64
|
+
</software_data>
|
65
|
+
</software>
|
66
|
+
<!--
|
67
|
+
Add missing driver packages to a booted install image so an
|
68
|
+
installation can complete. Add packages to target as well.
|
69
|
+
<search_all> searches and installs from configured repo.
|
70
|
+
-->
|
71
|
+
<add_drivers>
|
72
|
+
<search_all/>
|
73
|
+
</add_drivers>
|
74
|
+
<sc_embedded_manifest name="AI">
|
75
|
+
<!-- <?xml version='1.0'?>
|
76
|
+
<!DOCTYPE service_bundle SYSTEM "/usr/share/lib/xml/dtd/service_bundle.dtd.1">
|
77
|
+
<service_bundle type="profile" name="system configuration">
|
78
|
+
<service name="system/install/config" version="1" type="service">
|
79
|
+
<instance name="default" enabled="true">
|
80
|
+
<property_group name="user_account" type="application">
|
81
|
+
<propval name="login" type="astring" value="jack"/>
|
82
|
+
<propval name="password" type="astring" value="9Nd/cwBcNWFZg"/>
|
83
|
+
<propval name="description" type="astring" value="default_user"/>
|
84
|
+
<propval name="shell" type="astring" value="/usr/bin/bash"/>
|
85
|
+
<propval name="uid" type='count' value='101'/>
|
86
|
+
<propval name="gid" type='count' value='10'/>
|
87
|
+
<propval name="type" type="astring" value="normal"/>
|
88
|
+
<propval name="roles" type="astring" value="root"/>
|
89
|
+
</property_group>
|
90
|
+
|
91
|
+
<property_group name="root_account" type="application">
|
92
|
+
<propval name="password" type="astring" value="$5$dnRfcZse$Hx4aBQ161Uvn9ZxJFKMdRiy8tCf4gMT2s2rtkFba2y4"/>
|
93
|
+
<propval name="type" type="astring" value="role"/>
|
94
|
+
</property_group>
|
95
|
+
|
96
|
+
<property_group name="other_sc_params" type="application">
|
97
|
+
<propval name="timezone" type="astring" value="GMT"/>
|
98
|
+
<propval name="hostname" type="astring" value="solaris"/>
|
99
|
+
</property_group>
|
100
|
+
</instance>
|
101
|
+
</service>
|
102
|
+
<service name="system/console-login" version="1" type="service">
|
103
|
+
<property_group name="ttymon" type="application">
|
104
|
+
<propval name="terminal_type" type="astring" value="sun"/>
|
105
|
+
</property_group>
|
106
|
+
</service>
|
107
|
+
|
108
|
+
<service name='system/keymap' version='1' type='service'>
|
109
|
+
<instance name='default' enabled='true'>
|
110
|
+
<property_group name='keymap' type='system'>
|
111
|
+
<propval name='layout' type='astring' value='US-English'/>
|
112
|
+
</property_group>
|
113
|
+
</instance>
|
114
|
+
</service>
|
115
|
+
|
116
|
+
<service name="network/physical" version="1" type="service">
|
117
|
+
<instance name="nwam" enabled="true"/>
|
118
|
+
<instance name="default" enabled="false"/>
|
119
|
+
</service>
|
120
|
+
</service_bundle>
|
121
|
+
-->
|
122
|
+
</sc_embedded_manifest>
|
123
|
+
</ai_instance>
|
124
|
+
</auto_install>
|
data/templates/solaris-11-express-i386-experimental/auto_install/sc_profiles/static_network.xml
ADDED
@@ -0,0 +1,105 @@
|
|
1
|
+
<!--
|
2
|
+
CDDL HEADER START
|
3
|
+
|
4
|
+
The contents of this file are subject to the terms of the
|
5
|
+
Common Development and Distribution License (the "License").
|
6
|
+
You may not use this file except in compliance with the License.
|
7
|
+
|
8
|
+
You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
|
9
|
+
or http://www.opensolaris.org/os/licensing.
|
10
|
+
See the License for the specific language governing permissions
|
11
|
+
and limitations under the License.
|
12
|
+
|
13
|
+
When distributing Covered Code, include this CDDL HEADER in each
|
14
|
+
file and include the License file at usr/src/OPENSOLARIS.LICENSE.
|
15
|
+
If applicable, add the following below this CDDL HEADER, with the
|
16
|
+
fields enclosed by brackets "[]" replaced with your own identifying
|
17
|
+
information: Portions Copyright [yyyy] [name of copyright owner]
|
18
|
+
|
19
|
+
CDDL HEADER END
|
20
|
+
|
21
|
+
Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved.
|
22
|
+
-->
|
23
|
+
|
24
|
+
<!DOCTYPE service_bundle SYSTEM "/usr/share/lib/xml/dtd/service_bundle.dtd.1">
|
25
|
+
<service_bundle type="profile" name="system configuration">
|
26
|
+
<service name="system/install/config" version="1" type="service">
|
27
|
+
<instance name="default" enabled="true">
|
28
|
+
<property_group name="user_account" type="application">
|
29
|
+
<propval name="login" type="astring" value="jack"/>
|
30
|
+
<propval name="password" type="astring" value="9Nd/cwBcNWFZg"/>
|
31
|
+
<propval name="description" type="astring" value="default_user"/>
|
32
|
+
<propval name="shell" type="astring" value="/usr/bin/bash"/>
|
33
|
+
<propval name="uid" type='count' value='101'/>
|
34
|
+
<propval name="gid" type='count' value='10'/>
|
35
|
+
<propval name="type" type="astring" value="normal"/>
|
36
|
+
<propval name="roles" type="astring" value="root"/>
|
37
|
+
</property_group>
|
38
|
+
|
39
|
+
<property_group name="root_account" type="application">
|
40
|
+
<propval name="password" type="astring" value="$5$VgppCOxA$ycFmYW4ObRRHhtsGEygDdexk5bugqgSiaSR9niNCouC"/>
|
41
|
+
<propval name="type" type="astring" value="role"/>
|
42
|
+
</property_group>
|
43
|
+
|
44
|
+
<property_group name="other_sc_params" type="application">
|
45
|
+
<propval name="timezone" type="astring" value="GMT"/>
|
46
|
+
<propval name="hostname" type="astring" value="solaris"/>
|
47
|
+
</property_group>
|
48
|
+
</instance>
|
49
|
+
</service>
|
50
|
+
|
51
|
+
<service name="system/console-login" version="1" type="service">
|
52
|
+
<property_group name="ttymon" type="application">
|
53
|
+
<propval name="terminal_type" type="astring" value="sun"/>
|
54
|
+
</property_group>
|
55
|
+
</service>
|
56
|
+
|
57
|
+
<service name='system/keymap' version='1' type='service'>
|
58
|
+
<instance name='default' enabled='true'>
|
59
|
+
<property_group name='keymap' type='system'>
|
60
|
+
<propval name='layout' type='astring' value='US-English'/>
|
61
|
+
</property_group>
|
62
|
+
</instance>
|
63
|
+
</service>
|
64
|
+
|
65
|
+
<service name="network/physical" version="1" type="service">
|
66
|
+
<instance name="nwam" enabled="false"/>
|
67
|
+
<instance name="default" enabled="true"/>
|
68
|
+
</service>
|
69
|
+
|
70
|
+
<service name='network/install' version='1' type='service'>
|
71
|
+
<instance name='default' enabled='true'>
|
72
|
+
<property_group name='install_ipv4_interface' type='application'>
|
73
|
+
<propval name='name' type='astring' value='net0/v4'/>
|
74
|
+
<propval name='address_type' type='astring' value='static'/>
|
75
|
+
<propval name='static_address' type='net_address_v4' value='x.x.x.x/n'/>
|
76
|
+
<propval name='default_route' type='net_address_v4' value='x.x.x.x'/>
|
77
|
+
</property_group>
|
78
|
+
|
79
|
+
<property_group name='install_ipv6_interface' type='application'>
|
80
|
+
<propval name='name' type='astring' value='net0/v6'/>
|
81
|
+
<propval name='address_type' type='astring' value='addrconf'/>
|
82
|
+
<propval name='stateless' type='astring' value='yes'/>
|
83
|
+
<propval name='stateful' type='astring' value='yes'/>
|
84
|
+
</property_group>
|
85
|
+
</instance>
|
86
|
+
</service>
|
87
|
+
|
88
|
+
<service name='network/dns/install' version='1' type='service'>
|
89
|
+
<instance name='default' enabled='true'>
|
90
|
+
<property_group name='install_props' type='application'>
|
91
|
+
<property name='nameserver' type='net_address'>
|
92
|
+
<net_address_list>
|
93
|
+
<value_node value='x.x.x.x'/>
|
94
|
+
</net_address_list>
|
95
|
+
</property>
|
96
|
+
<property name='search' type='astring'>
|
97
|
+
<astring_list>
|
98
|
+
<value_node value='example.com'/>
|
99
|
+
</astring_list>
|
100
|
+
</property>
|
101
|
+
</property_group>
|
102
|
+
</instance>
|
103
|
+
</service>
|
104
|
+
</service_bundle>
|
105
|
+
|
@@ -0,0 +1,105 @@
|
|
1
|
+
<!--
|
2
|
+
CDDL HEADER START
|
3
|
+
|
4
|
+
The contents of this file are subject to the terms of the
|
5
|
+
Common Development and Distribution License (the "License").
|
6
|
+
You may not use this file except in compliance with the License.
|
7
|
+
|
8
|
+
You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
|
9
|
+
or http://www.opensolaris.org/os/licensing.
|
10
|
+
See the License for the specific language governing permissions
|
11
|
+
and limitations under the License.
|
12
|
+
|
13
|
+
When distributing Covered Code, include this CDDL HEADER in each
|
14
|
+
file and include the License file at usr/src/OPENSOLARIS.LICENSE.
|
15
|
+
If applicable, add the following below this CDDL HEADER, with the
|
16
|
+
fields enclosed by brackets "[]" replaced with your own identifying
|
17
|
+
information: Portions Copyright [yyyy] [name of copyright owner]
|
18
|
+
|
19
|
+
CDDL HEADER END
|
20
|
+
|
21
|
+
Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved.
|
22
|
+
|
23
|
+
-->
|
24
|
+
|
25
|
+
<!ELEMENT software (destination?, source*, software_data*)>
|
26
|
+
|
27
|
+
<!--
|
28
|
+
The software name is utilized to allow users to associate
|
29
|
+
a specific software instance with a specific checkpoint.
|
30
|
+
For example, we could have multiple transfer types during the
|
31
|
+
course of an installation process. If a software is
|
32
|
+
to be associated with a specific checkpoint the software inst
|
33
|
+
name must be utilized and must be the same as the associated
|
34
|
+
checkpoint. If no name provided the software elements
|
35
|
+
will be used in order based on the type provided.
|
36
|
+
-->
|
37
|
+
|
38
|
+
<!ATTLIST software name CDATA #IMPLIED>
|
39
|
+
|
40
|
+
<!ELEMENT software_data (name*)>
|
41
|
+
<!ATTLIST software_data action (install|uninstall|unpack|noinstall) "install">
|
42
|
+
<!ATTLIST software_data type (IPS|SVR4|ARCHIVE|IMAGE|P5I|DU|P5P|FILE|DIR) "IPS">
|
43
|
+
|
44
|
+
<!ELEMENT name (#PCDATA)>
|
45
|
+
|
46
|
+
<!--
|
47
|
+
Destination element is not required. If specified there can only
|
48
|
+
be one destination per software element. If not specified,
|
49
|
+
the destination is assumed to be an ipkg image and will be
|
50
|
+
discovered automatically.
|
51
|
+
-->
|
52
|
+
|
53
|
+
<!ELEMENT destination (image|dir)>
|
54
|
+
|
55
|
+
<!ELEMENT image (facet*, img_type?, property*)>
|
56
|
+
<!ATTLIST image action (create|use_existing) "create">
|
57
|
+
<!ATTLIST image index (true|false) "false">
|
58
|
+
<!ATTLIST image ssl_key CDATA #IMPLIED>
|
59
|
+
<!ATTLIST image ssl_cert CDATA #IMPLIED>
|
60
|
+
<!ATTLIST image img_root CDATA #IMPLIED>
|
61
|
+
|
62
|
+
<!ELEMENT img_type EMPTY>
|
63
|
+
<!ATTLIST img_type completeness (full|partial) #REQUIRED>
|
64
|
+
<!ATTLIST img_type zone (true|false) "false">
|
65
|
+
|
66
|
+
<!--
|
67
|
+
A property on an image is set via pkg set-property <propname>.
|
68
|
+
So, for use in this schema an example would be:
|
69
|
+
<image>
|
70
|
+
<img_type completeness="partial" zone="true"/>
|
71
|
+
<property val="true">send-uuid</property>
|
72
|
+
<property val="false">flush-content-cache-on-success
|
73
|
+
</property>
|
74
|
+
</image>
|
75
|
+
-->
|
76
|
+
<!ELEMENT property (#PCDATA)>
|
77
|
+
<!ATTLIST property val (true|false) #REQUIRED>
|
78
|
+
|
79
|
+
<!--
|
80
|
+
A facet is an option that may be selected or not selected,
|
81
|
+
such as various locales, documentation, etc. This is per
|
82
|
+
image.
|
83
|
+
-->
|
84
|
+
|
85
|
+
<!ELEMENT facet (#PCDATA)>
|
86
|
+
<!ATTLIST facet set (true|false) "true">
|
87
|
+
|
88
|
+
<!ELEMENT source (publisher+|dir)>
|
89
|
+
|
90
|
+
<!--
|
91
|
+
If name is not specified, and this is an ips install,
|
92
|
+
then publishers known by the specified repository will be added to
|
93
|
+
the image. Origin can be an uri, path to a file, archive, directory.
|
94
|
+
-->
|
95
|
+
<!ELEMENT publisher (origin+, mirror*)>
|
96
|
+
<!ATTLIST publisher name CDATA #IMPLIED>
|
97
|
+
|
98
|
+
<!ELEMENT origin EMPTY>
|
99
|
+
<!ATTLIST origin name CDATA #REQUIRED>
|
100
|
+
|
101
|
+
<!ELEMENT mirror EMPTY>
|
102
|
+
<!ATTLIST mirror name CDATA #REQUIRED>
|
103
|
+
|
104
|
+
<!ELEMENT dir EMPTY>
|
105
|
+
<!ATTLIST dir path CDATA #REQUIRED>
|