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

[Xen-devel] [OSSTEST PATCH 21/35] netboot: Rename ./mg-hosts mknetbootdir subcommand



Was ./mg-hosts mkpxedir, but it is more general.

Signed-off-by: Ian Jackson <Ian.Jackson@xxxxxxxxxxxxx>
---
 README     | 4 ++--
 README.dev | 2 +-
 mg-hosts   | 4 ++--
 3 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/README b/README
index 01644b0..91d0328 100644
--- a/README
+++ b/README
@@ -538,8 +538,8 @@ TftpPxeTemplates
     are known is used, with TftpPath and TftpPxeDir prepended.
 
 TftpPxeTemplatesReal
-    Template filename which mg-hosts mkpxedir should make be a symlink to
-    the TftpPxeTemplates.  Not used otherwise.
+    Template filename which mg-hosts mknetbootdir should make be a
+    symlink to the TftpPxeTemplates.  Not used otherwise.
 
 Timezone
     Olson TZ name, used by host and guest installers
diff --git a/README.dev b/README.dev
index a5b23b0..09b9531 100644
--- a/README.dev
+++ b/README.dev
@@ -45,7 +45,7 @@ $ mg-hosts setprops marilith-n4 -- dhcp-watch-method 'leases 
dhcp3 dns-cam1.uk.x
 Handles multiple hosts:
 $ mg-hosts setprops HOSTA HOSTB -- "PROP" "VALUE"
 
-$ mg-hosts mkpxedir HOSTA HOSTB
+$ mg-hosts mknetbootdir HOSTA HOSTB
 
 Create a flight:
 $ FLIGHT=`OSSTEST_CONFIG=production-config ./cs-flight-create commission 
xen-unstable`
diff --git a/mg-hosts b/mg-hosts
index 20f40b0..07283c8 100755
--- a/mg-hosts
+++ b/mg-hosts
@@ -19,7 +19,7 @@
 
 # Usages:
 #
-#  ./mg-hosts mkpxedir HOST...
+#  ./mg-hosts mknetbootdir HOST...
 #               Create directories for netboot as expected by the rest
 #               of osstest.  Will use "sudo". The HOST(s) must be
 #               allocated (via mg-allocate HOST).
@@ -111,7 +111,7 @@ sub checkhost ($) {
 
 sub l ($) { return split /,/, $_[0]; }
 
-sub cmd_mkpxedir () {
+sub cmd_mknetbootdir () {
     my $dryrun = 0;
     if (@ARGV && $ARGV[0] eq '-n') { shift @ARGV; $dryrun= 1; }
     die unless @ARGV>=1;
-- 
2.1.4


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

 


Rackspace

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