Skip to content

Commit

Permalink
Another tidy
Browse files Browse the repository at this point in the history
  • Loading branch information
alvarocarvajald committed Nov 14, 2024
1 parent cfb358c commit 99e0489
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/boot/boot_from_pxe.pm
Original file line number Diff line number Diff line change
Expand Up @@ -120,14 +120,14 @@ sub run {
send_key_until_needlematch "pxe-$entry-entry", 'down';
send_key 'tab';
}
elsif (get_var('PXE_GRUB_HTTP')) {
elsif (get_var('PXE_GRUB_HTTP')) {
my $device = (is_ipmi && !get_var('SUT_NETDEVICE_SKIPPED')) ? "?device=$interface" : '';
my $load_from_http = get_var('PXE_GRUB_HTTP');
my $mirror_url = Mojo::URL->new(get_required_var('MIRROR_HTTP'));
$image_path = $load_from_http . $mirror_url->path . "/boot/$arch/loader/linux ";
$image_path .= "initrd=$load_from_http" . $mirror_url->path . "/boot/$arch/loader/initrd ";
$image_path .= "install=$mirror_url$device ";
}
}
else {
my $device = (is_ipmi && !get_var('SUT_NETDEVICE_SKIPPED')) ? "?device=$interface" : '';
my $release = get_var('BETA') ? 'LATEST' : 'GM';
Expand Down

0 comments on commit 99e0489

Please sign in to comment.