aboutsummaryrefslogtreecommitdiffstats
path: root/tools/examples
diff options
context:
space:
mode:
authorRoger Pau Monne <roger.pau@citrix.com>2013-03-13 17:42:17 +0000
committerIan Jackson <Ian.Jackson@eu.citrix.com>2013-03-15 12:40:25 +0000
commitcb724faf0138a92dcebb8cf249ae79ba87a67ff9 (patch)
tree43099a2f1f52089377fdb1079451032850a0fec7 /tools/examples
parente2abe690babf06fc49bdec49b08cb45dd3e09138 (diff)
downloadxen-cb724faf0138a92dcebb8cf249ae79ba87a67ff9.tar.gz
xen-cb724faf0138a92dcebb8cf249ae79ba87a67ff9.tar.bz2
xen-cb724faf0138a92dcebb8cf249ae79ba87a67ff9.zip
xl: allow specifying a default gatewaydev in xl.conf
This adds a new global option in the xl configuration file called "vif.default.gatewaydev", that is used to specify the default gatewaydev to use when none is passed in the vif specification. Signed-off-by: Roger Pau Monné <roger.pau@citrix.com> Acked-by: Ian Campbell <ian.campbell@citrix.com> Tested-by: Ulf Kreutzberg <ulf.kreutzberg@hosteurope.de> Cc: Ulf Kreutzberg <ulf.kreutzberg@hosteurope.de> Cc: Ian Campbell <ian.campbell@citrix.com> Cc: George Dunlap <george.dunlap@citrix.com> Acked-by: Ian Jackson <ian.jackson@eu.citrix.com>
Diffstat (limited to 'tools/examples')
-rw-r--r--tools/examples/xl.conf3
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/examples/xl.conf b/tools/examples/xl.conf
index 28ab796ea3..9a03ffffe3 100644
--- a/tools/examples/xl.conf
+++ b/tools/examples/xl.conf
@@ -20,3 +20,6 @@
# if disabled the old behaviour will be used, and hotplug scripts will be
# launched by udev.
#run_hotplug_scripts=1
+
+# default gateway device to use with vif-route hotplug script
+#vif.default.gatewaydev="eth0"