]> xenbits.xensource.com Git - people/royger/osstest.git/commitdiff
mg-hosts: mknetbootdir: Correctly use Path again
authorIan Jackson <ian.jackson@eu.citrix.com>
Thu, 30 Nov 2017 17:40:13 +0000 (17:40 +0000)
committerIan Jackson <ian.jackson@eu.citrix.com>
Tue, 5 Dec 2017 18:57:48 +0000 (18:57 +0000)
In fcd93edd00a8c9b08da3994d8bee9fa3809c3d93
  "netboot: Rework interface to host_netboot_file (was host_pxefile)"
we unintentionally dropped $ho->{Tftp}{Path} from the
effective path.  Reinstate it.

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

index e230e3834f5bb7e704c1bb0467a05bbb7ac5a822..9ac1990e427746730d718cc76fd8b739cbaadf73 100755 (executable)
--- a/mg-hosts
+++ b/mg-hosts
@@ -129,7 +129,7 @@ sub cmd_mknetbootdir () {
         die unless $dirname;
        my $cmd = <<END;
             set -e
-           cd $dir
+           cd $ho->{Tftp}{Path}$dir
 END
         $cmd .= <<END if $dirname ne '.';
            $sudo mkdir -p $dirname