[PATCH] Fix a typo in interface.rng
by Yalan Zhang
There is a typo introduced by netcf-make-start-mode-blah-optional.patch,
it is describled in https://bugzilla.redhat.com/show_bug.cgi?id=1436906
---
data/xml/interface.rng | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/data/xml/interface.rng b/data/xml/interface.rng
index 46818d1..f9a4693 100644
--- a/data/xml/interface.rng
+++ b/data/xml/interface.rng
@@ -289,7 +289,7 @@
</choice>
</attribute>
</element>
- </optional
+ </optional>
</define>
<!--
--
1.8.3.1
7 years
[PATCH] make <start mode='blah'/> optional
by Laine Stump
There's no reason to require it when defining an interface (the config
option it corresponds to is optional), and it isn't even output in the
status of an interface.
---
data/xml/interface.rng | 24 +++++++++++++-----------
1 file changed, 13 insertions(+), 11 deletions(-)
diff --git a/data/xml/interface.rng b/data/xml/interface.rng
index 9098cc9..46818d1 100644
--- a/data/xml/interface.rng
+++ b/data/xml/interface.rng
@@ -277,17 +277,19 @@
</define>
<define name="startmode">
- <element name="start">
- <attribute name="mode">
- <choice>
- <value>onboot</value>
- <value>none</value>
- <value>hotplug</value>
- <!-- Jim Fehlig lists the following that SuSe supports:
- manual, ifplug, nfsroot -->
- </choice>
- </attribute>
- </element>
+ <optional>
+ <element name="start">
+ <attribute name="mode">
+ <choice>
+ <value>onboot</value>
+ <value>none</value>
+ <value>hotplug</value>
+ <!-- Jim Fehlig lists the following that SuSe supports:
+ manual, ifplug, nfsroot -->
+ </choice>
+ </attribute>
+ </element>
+ </optional
</define>
<!--
--
2.9.3
7 years