Signed-off-by: Ian Jackson <ian.jack...@eu.citrix.com>
---
 mg-hosts |    2 ++
 1 file changed, 2 insertions(+)

diff --git a/mg-hosts b/mg-hosts
index f695f98..497139a 100755
--- a/mg-hosts
+++ b/mg-hosts
@@ -105,6 +105,8 @@ sub checkhost ($) {
 sub l ($) { return split /,/, $_[0]; }
 
 sub cmd_mkpxedir () {
+    my $dryrun = 0;
+    if (@ARGV && $ARGV[0] eq '-n') { shift @ARGV; $dryrun= 1; }
     die unless @ARGV>=1;
     my $sudo = $ENV{'OSSTEST_SUDO'} // 'sudo';
     foreach my $hn (@ARGV) {
-- 
1.7.10.4


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

Reply via email to