[PATCH conductor] BZ804543: template relaxng: make rootpw mandatory

mzatko at redhat.com mzatko at redhat.com
Tue May 22 19:22:12 UTC 2012


From: Maros Zatko <mzatko at redhat.com>

rootpw tag is mandatory in imagefactory's xsd file
---
 src/app/util/template-rng.xml |   10 ++++------
 1 file changed, 4 insertions(+), 6 deletions(-)

diff --git a/src/app/util/template-rng.xml b/src/app/util/template-rng.xml
index acf7549..b7eae58 100644
--- a/src/app/util/template-rng.xml
+++ b/src/app/util/template-rng.xml
@@ -79,11 +79,9 @@
                 <ref name='iso'/>
               </choice>
             </element>
-            <optional>
-              <element name='rootpw'>
-                <text/>
-              </element>
-            </optional>
+            <element name='rootpw'>
+              <text/>
+            </element>
             <optional>
               <element name='key'>
                 <text/>
@@ -278,4 +276,4 @@
     <ref name='base64'/>
   </define>
 
-</grammar>
\ No newline at end of file
+</grammar>
-- 
1.7.10.1




More information about the aeolus-devel mailing list