From cb724faf0138a92dcebb8cf249ae79ba87a67ff9 Mon Sep 17 00:00:00 2001 From: Roger Pau Monne Date: Wed, 13 Mar 2013 17:42:17 +0000 Subject: xl: allow specifying a default gatewaydev in xl.conf MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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é Acked-by: Ian Campbell Tested-by: Ulf Kreutzberg Cc: Ulf Kreutzberg Cc: Ian Campbell Cc: George Dunlap Acked-by: Ian Jackson --- tools/examples/xl.conf | 3 +++ 1 file changed, 3 insertions(+) (limited to 'tools/examples') 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" -- cgit v1.2.3