[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] [OSSTEST PATCH 4/4] mg-hosts mkpxedir: honour $OSSTEST_SUDO



Signed-off-by: Ian Jackson <Ian.Jackson@xxxxxxxxxxxxx>
---
 mg-hosts |    1 +
 1 file changed, 1 insertion(+)

diff --git a/mg-hosts b/mg-hosts
index 2643548..c49be79 100755
--- a/mg-hosts
+++ b/mg-hosts
@@ -104,6 +104,7 @@ sub l ($) { return split /,/, $_[0]; }
 
 sub cmd_mkpxedir () {
     die unless @ARGV>=1;
+    my $sudo = $ENV{'OSSTEST_SUDO'} // 'sudo';
     foreach my $hn (@ARGV) {
         my $ho= selecthost("host=$hn");
         my $macdir= $ho->{Ether};
-- 
1.7.10.4


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.