aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk>2005-10-07 13:11:41 +0100
committerkaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk>2005-10-07 13:11:41 +0100
commit6f455ecab68654e5e448b610b094ccd35e38ec24 (patch)
tree9d231a31225c45a481bcac1d2baef3121c2c6342
parent5bd7984820b32f2a5c4571255907f9bba0e3a8a5 (diff)
downloadxen-6f455ecab68654e5e448b610b094ccd35e38ec24.tar.gz
xen-6f455ecab68654e5e448b610b094ccd35e38ec24.tar.bz2
xen-6f455ecab68654e5e448b610b094ccd35e38ec24.zip
The hotplug agent sets the path now, but that's not as practical to do
with udev rules. So instead, make sure that the path is set in the vif scripts themselves. Signed-off-by: Jeremy Katz <katzj@redhat.com>
-rwxr-xr-xtools/examples/vif-bridge1
-rw-r--r--tools/examples/vif-nat2
-rwxr-xr-xtools/examples/vif-route2
3 files changed, 3 insertions, 2 deletions
diff --git a/tools/examples/vif-bridge b/tools/examples/vif-bridge
index 2a3903a310..0f692d689f 100755
--- a/tools/examples/vif-bridge
+++ b/tools/examples/vif-bridge
@@ -33,6 +33,7 @@
# Exit if anything goes wrong
set -e
+export PATH=/sbin:/bin:/usr/bin:/usr/sbin:$PATH
echo "*vif-bridge $*" >&2
diff --git a/tools/examples/vif-nat b/tools/examples/vif-nat
index 00977f8819..f268fdcedc 100644
--- a/tools/examples/vif-nat
+++ b/tools/examples/vif-nat
@@ -22,7 +22,7 @@
# Exit if anything goes wrong
set -e
-
+export PATH=/sbin:/bin:/usr/bin:/usr/sbin:$PATH
echo "*vif-nat $*" >&2
# Operation name.
diff --git a/tools/examples/vif-route b/tools/examples/vif-route
index 2c0b2d1d3a..efb83881d2 100755
--- a/tools/examples/vif-route
+++ b/tools/examples/vif-route
@@ -23,7 +23,7 @@
# Exit if anything goes wrong
set -e
-
+export PATH=/sbin:/bin:/usr/bin:/usr/sbin:$PATH
echo "*vif-route $*" >&2
# Operation name.