@@ -862,6 +862,7 @@ sub selecthost ($) {
};
if (defined $job) {
$ho->{Suite} = target_var($ho, "suite") // $c{DebianSuite};
+ $ho->{DiVersion} = target_var($ho, "diversion") // $c{TftpDiVersion};
}
#----- handle hosts which are themselves guests (nested) -----
@@ -157,7 +157,7 @@ END
sub setup_pxeboot_firstboot($) {
my ($ps_url) = @_;
- my $d_i= $ho->{Tftp}{DiBase}.'/'.$r{arch}.'/'.$c{TftpDiVersion}.'-'.$ho->{Suite};
+ my $d_i= $ho->{Tftp}{DiBase}.'/'.$r{arch}.'/'.$ho->{DiVersion}.'-'.$ho->{Suite};
my @dicmdline= qw(vga=normal);
push @dicmdline, di_installcmdline_core($ho, $ps_url, %xopts);