mirror of
https://github.com/netbootxyz/netboot.xyz.git
synced 2026-01-22 18:24:53 +00:00
Add Agama installer support for openSUSE Leap 16.0
Co-authored-by: antonym <245007+antonym@users.noreply.github.com>
This commit is contained in:
parent
2203acdbfe
commit
b9fa0a9d3d
1 changed files with 14 additions and 0 deletions
|
|
@ -72,6 +72,20 @@ iseq ${version} tumbleweed && set dir ${version}/repo/oss ||
|
|||
imgfree
|
||||
set kernel_url boot/${os_arch}/loader
|
||||
iseq ${os_arch} aarch64 && set kernel_url boot/${os_arch} ||
|
||||
|
||||
# openSUSE Leap 16.0+ uses Agama installer instead of YaST
|
||||
# Agama requires different kernel parameters
|
||||
iseq ${version} 16.0 && goto agama_boot ||
|
||||
goto yast_boot
|
||||
|
||||
:agama_boot
|
||||
kernel ${opensuse_mirror}/${dir}/${kernel_url}/linux ${netsetup} rd.neednet=1 agama.auto=1 ${params} {{ kernel_params }}
|
||||
initrd ${opensuse_mirror}/${dir}/${kernel_url}/initrd
|
||||
echo MD5sums:
|
||||
md5sum linux initrd
|
||||
boot
|
||||
|
||||
:yast_boot
|
||||
kernel ${opensuse_mirror}/${dir}/${kernel_url}/linux ${netsetup} install=${opensuse_mirror}/${dir} ${params} {{ kernel_params }}
|
||||
initrd ${opensuse_mirror}/${dir}/${kernel_url}/initrd
|
||||
echo MD5sums:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue