]> xenbits.xensource.com Git - people/liuw/osstest.git/commitdiff
ts-debian-di-install: use gho to pick d-i
authorWei Liu <wei.liu2@citrix.com>
Thu, 2 Nov 2017 18:19:25 +0000 (18:19 +0000)
committerWei Liu <wei.liu2@citrix.com>
Thu, 10 May 2018 17:18:10 +0000 (18:18 +0100)
The original code used ho which gave us the host suite, but we wanted
the guest suite.

Signed-off-by: Wei Liu <wei.liu2@citrix.com>
ts-debian-di-install

index 60079712e72991c3b0811fdbafb18109a2769bc3..361a171018a35edebe950e9fd1f8a2af5c9f6565 100755 (executable)
@@ -152,8 +152,8 @@ sub setup_netboot($$$)
        die if $r{ "$gho->{Guest}_netboot_kernel" }
        ||     $r{ "$gho->{Guest}_netboot_ramdisk" };
 
-       my $di_path = $c{TftpPath}.'/'.$ho->{Tftp}{DiBase}.'/'.${arch}.'/'.
-           debian_guest_di_version($ho).'-'.$ho->{Suite};
+       my $di_path = $c{TftpPath}.'/'.$gho->{Tftp}{DiBase}.'/'.${arch}.'/'.
+           debian_guest_di_version($gho).'-'.$gho->{Suite};
 
         if (${arch} =~ m/amd64|i386/) {
            $kernel = "$di_path/vmlinuz-xen";