veewee 0.1.26 → 0.1.27

Sign up to get free protection for your applications and to get access to all the features.
Files changed (69) hide show
  1. data/Gemfile.lock +1 -1
  2. data/README.md +107 -99
  3. data/lib/veewee/command.rb +2 -1
  4. data/lib/veewee/scancode.rb +21 -4
  5. data/lib/veewee/session.rb +2 -2
  6. data/lib/veewee/version.rb +1 -1
  7. data/templates/CentOS-5.6-x86_64-netboot/definition.rb +16 -0
  8. data/templates/CentOS-5.6-x86_64-netboot/ks.cfg +45 -0
  9. data/templates/CentOS-5.6-x86_64-netboot/postinstall.sh +58 -0
  10. data/templates/{Debian-6.0.1a-amd64-netboot → Debian-5.0.8-amd64-netboot}/definition.rb +3 -3
  11. data/templates/Debian-5.0.8-amd64-netboot/postinstall.sh +57 -0
  12. data/templates/{Debian-6.0.1a-amd64-netboot → Debian-5.0.8-amd64-netboot}/preseed.cfg +0 -0
  13. data/templates/Debian-5.0.8-i386-netboot/definition.rb +39 -0
  14. data/templates/Debian-5.0.8-i386-netboot/postinstall.sh +57 -0
  15. data/templates/Debian-5.0.8-i386-netboot/preseed.cfg +312 -0
  16. data/templates/Debian-6.0.2-amd64-netboot/definition.rb +39 -0
  17. data/templates/Debian-6.0.2-amd64-netboot/postinstall.sh +68 -0
  18. data/templates/Debian-6.0.2-amd64-netboot/preseed.cfg +312 -0
  19. data/templates/{Debian-6.0.1a-i386-netboot → Debian-6.0.2-i386-netboot}/definition.rb +3 -3
  20. data/templates/{Debian-6.0.1a-i386-netboot → Debian-6.0.2-i386-netboot}/postinstall.sh +22 -2
  21. data/templates/{Debian-6.0.1a-i386-netboot → Debian-6.0.2-i386-netboot}/preseed.cfg +0 -0
  22. data/templates/archlinux-64-aif-experimental/definition.rb +29 -0
  23. data/templates/archlinux-64-aif-experimental/postinstall.sh +6 -0
  24. data/templates/archlinux-64-experimental/autorun0 +6 -0
  25. data/templates/archlinux-64-experimental/definition.rb +21 -0
  26. data/templates/archlinux-64-experimental/postinstall.sh +190 -0
  27. data/templates/archlinux-i686/definition.rb +1 -1
  28. data/templates/openindiana-148-ai-x86/auto_install/ai.dtd +58 -0
  29. data/templates/openindiana-148-ai-x86/auto_install/ai_manifest.xml +241 -0
  30. data/templates/openindiana-148-ai-x86/auto_install/configuration.dtd +44 -0
  31. data/templates/openindiana-148-ai-x86/auto_install/default.xml +121 -0
  32. data/templates/openindiana-148-ai-x86/auto_install/default.xml.orig +124 -0
  33. data/templates/openindiana-148-ai-x86/auto_install/sc_profiles/static_network.xml +105 -0
  34. data/templates/openindiana-148-ai-x86/auto_install/software.dtd +105 -0
  35. data/templates/openindiana-148-ai-x86/auto_install/target.dtd +196 -0
  36. data/templates/openindiana-148-ai-x86/default.xml +121 -0
  37. data/templates/openindiana-148-ai-x86/definition.rb +59 -0
  38. data/templates/openindiana-148-ai-x86/postinstall.sh +101 -0
  39. data/templates/solaris-11-express-i386/definition.rb +6 -11
  40. data/templates/solaris-11-express-i386/postinstall.sh +2 -2
  41. data/templates/ubuntu-10.04.2-amd64-netboot/postinstall.sh +1 -0
  42. data/templates/ubuntu-10.04.2-server-amd64/postinstall.sh +1 -0
  43. data/templates/ubuntu-10.04.2-server-i386-netboot/postinstall.sh +1 -0
  44. data/templates/ubuntu-10.04.2-server-i386/postinstall.sh +1 -0
  45. data/templates/ubuntu-10.10-server-amd64-netboot/postinstall.sh +1 -0
  46. data/templates/ubuntu-10.10-server-amd64/postinstall.sh +1 -0
  47. data/templates/ubuntu-10.10-server-i386-netboot/postinstall.sh +1 -0
  48. data/templates/ubuntu-10.10-server-i386/postinstall.sh +1 -0
  49. data/templates/ubuntu-11.04-server-amd64/postinstall.sh +1 -0
  50. data/templates/ubuntu-11.04-server-i386/postinstall.sh +1 -0
  51. data/templates/ubuntu-8.04.4-server-amd64/definition.rb +25 -0
  52. data/templates/ubuntu-8.04.4-server-amd64/postinstall.sh +66 -0
  53. data/templates/ubuntu-8.04.4-server-amd64/preseed.cfg +88 -0
  54. data/templates/ubuntu-8.04.4-server-i386/definition.rb +25 -0
  55. data/templates/{Debian-6.0.1a-amd64-netboot → ubuntu-8.04.4-server-i386}/postinstall.sh +7 -10
  56. data/templates/ubuntu-8.04.4-server-i386/preseed.cfg +87 -0
  57. data/templates/{windows-2008R2-amd64-experimental → windows-2008R2-amd64}/Autounattend.xml +1 -1
  58. data/templates/windows-2008R2-amd64/README.md +68 -0
  59. data/templates/{windows-2008R2-amd64-experimental → windows-2008R2-amd64}/cygwin-setup.exe +0 -0
  60. data/templates/{windows-2008R2-amd64-experimental → windows-2008R2-amd64}/definition.rb +2 -3
  61. data/templates/{windows-2008R2-amd64-experimental/cygwin-sshd.bat → windows-2008R2-amd64/install-cygwin-sshd.bat} +0 -0
  62. data/templates/{windows-2008R2-amd64-experimental → windows-2008R2-amd64}/install-winrm.bat +0 -0
  63. data/templates/windows-2008R2-amd64/oracle-cert.cer +0 -0
  64. data/templates/windows-2008R2-amd64/postinstall.sh +122 -0
  65. data/templates/{windows-2008R2-amd64-experimental → windows-2008R2-amd64}/winrm.rb +0 -0
  66. metadata +50 -19
  67. data/templates/windows-2008R2-amd64-experimental/README.md +0 -33
  68. data/templates/windows-2008R2-amd64-experimental/note-virtualbox-additions.txt +0 -23
  69. data/templates/windows-2008R2-amd64-experimental/postinstall.sh +0 -48
@@ -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,121 @@
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="openindiana.org">
31
+ <origin name="http://pkg.openindiana.org/dev"/>
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:/server_install</name>
44
+ <!--
45
+ The following packages are required by iSCSI and included
46
+ by default to make it easier for users to enable iSCSI if
47
+ desired. They can be deleted from this list if iSCSI isn't
48
+ used. See iscsiadm(1m) man page for more information.
49
+ support for iSCSI.
50
+ -->
51
+ </software_data>
52
+ <!--
53
+ babel_install and slim_install are group packages used to
54
+ define the default installation. They are removed here so
55
+ that they do not inhibit removal of other packages on the
56
+ installed system.
57
+ -->
58
+ <software_data action="uninstall" type="IPS">
59
+ <name>pkg:/server_install</name>
60
+ </software_data>
61
+
62
+ </software>
63
+ <!--
64
+ Add missing driver packages to a booted install image so an
65
+ installation can complete. Add packages to target as well.
66
+ <search_all> searches and installs from configured repo.
67
+ -->
68
+ <add_drivers>
69
+ <search_all/>
70
+ </add_drivers>
71
+ <sc_embedded_manifest name="AI">
72
+ <!-- <?xml version='1.0'?>
73
+ <!DOCTYPE service_bundle SYSTEM "/usr/share/lib/xml/dtd/service_bundle.dtd.1">
74
+ <service_bundle type="profile" name="system configuration">
75
+ <service name="system/install/config" version="1" type="service">
76
+ <instance name="default" enabled="true">
77
+ <property_group name="user_account" type="application">
78
+ <propval name="login" type="astring" value="vagrant"/>
79
+ <propval name="password" type="astring" value="$1$MPmczGP9$1SeNO4bw5YgiEJuo/ZkWq1"/>
80
+ <propval name="description" type="astring" value="default_user"/>
81
+ <propval name="shell" type="astring" value="/usr/bin/bash"/>
82
+ <propval name="uid" type='count' value='101'/>
83
+ <propval name="gid" type='count' value='10'/>
84
+ <propval name="type" type="astring" value="normal"/>
85
+ <propval name="roles" type="astring" value="root"/>
86
+ </property_group>
87
+
88
+ <property_group name="root_account" type="application">
89
+ <propval name="password" type="astring" value="$1$MPmczGP9$1SeNO4bw5YgiEJuo/ZkWq1"/>
90
+ <propval name="type" type="astring" value="role"/>
91
+ </property_group>
92
+
93
+ <property_group name="other_sc_params" type="application">
94
+ <propval name="timezone" type="astring" value="GMT"/>
95
+ <propval name="hostname" type="astring" value="solaris"/>
96
+ </property_group>
97
+ </instance>
98
+ </service>
99
+ <service name="system/console-login" version="1" type="service">
100
+ <property_group name="ttymon" type="application">
101
+ <propval name="terminal_type" type="astring" value="sun"/>
102
+ </property_group>
103
+ </service>
104
+
105
+ <service name='system/keymap' version='1' type='service'>
106
+ <instance name='default' enabled='true'>
107
+ <property_group name='keymap' type='system'>
108
+ <propval name='layout' type='astring' value='US-English'/>
109
+ </property_group>
110
+ </instance>
111
+ </service>
112
+
113
+ <service name="network/physical" version="1" type="service">
114
+ <instance name="nwam" enabled="true"/>
115
+ <instance name="default" enabled="false"/>
116
+ </service>
117
+ </service_bundle>
118
+ -->
119
+ </sc_embedded_manifest>
120
+ </ai_instance>
121
+ </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>
@@ -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>