Revision 8da6c5a9
Added by Naga about 4 years ago
app/models/operatingsystems/debian.rb | ||
---|---|---|
PXEFILES = {:kernel => "linux", :initrd => "initrd.gz"}
|
||
|
||
def pxedir(medium_provider = nil)
|
||
'dists/$release/main/installer-$arch/current/images/netboot/' + guess_os + '-installer/$arch'
|
||
# support ubuntu focal(20), which moved pxe files to legacy_image
|
||
if (guess_os == 'ubuntu' && major.to_i >= 20)
|
||
'dists/$release/main/installer-$arch/current/legacy-images/netboot/' + guess_os + '-installer/$arch'
|
||
else
|
||
'dists/$release/main/installer-$arch/current/images/netboot/' + guess_os + '-installer/$arch'
|
||
end
|
||
end
|
||
|
||
def preseed_server(medium_provider)
|
Also available in: Unified diff
Fixes #29612 - Update debian.rb to support Ubuntu 20 legacy pxe