Was ./mg-hosts mkpxedir, but it is more general.
Signed-off-by: Ian Jackson <Ian.Jackson@eu.citrix.com>
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
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`
# 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).
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;