]> xenbits.xensource.com Git - people/iwj/osstest.git/commitdiff
netboot: Rename ./mg-hosts mknetbootdir subcommand
authorIan Jackson <ian.jackson@eu.citrix.com>
Tue, 17 Jan 2017 18:24:32 +0000 (18:24 +0000)
committerIan Jackson <Ian.Jackson@eu.citrix.com>
Sun, 22 Jan 2017 23:44:34 +0000 (23:44 +0000)
Was ./mg-hosts mkpxedir, but it is more general.

Signed-off-by: Ian Jackson <Ian.Jackson@eu.citrix.com>
README
README.dev
mg-hosts

diff --git a/README b/README
index 01644b08577babfab725355caff5a8342261c496..91d03283248f9ee32c78f82abd54ab7638809776 100644 (file)
--- 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
index a5b23b097bede880c84a6232c9d7aa7344ff7ed4..09b95314478c30618c1564dedf6e4c6776262760 100644 (file)
@@ -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`
index 20f40b07bba2afe9e974400592762b542f47baf6..07283c84bb255a57dd8d55384ba4c2f366b9e4aa 100755 (executable)
--- 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;