2
0
mirror of https://github.com/xcat2/confluent.git synced 2026-04-02 23:36:26 +00:00

Fallback to filename for PE format kernels

Some ARM64 kernels ship as EFI executables, but it's
not obvious how to extract version numbers from those properly.
This commit is contained in:
Jarrod Johnson
2026-01-15 13:27:21 -05:00
parent ccaf22f44f
commit a0a5887214

View File

@@ -211,7 +211,7 @@ v6cfg=$(grep ^ipv6_method: /etc/confluent/confluent.deploycfg)
v6cfg=${v6cfg#ipv6_method: }
v4cfg=$(grep ^ipv4_method: /etc/confluent/confluent.deploycfg)
v4cfg=${v4cfg#ipv4_method: }
if [ "$v4cfg" = "static" ] || [ "$v4cfg" = "dhcp" ]; then
if [ "$v4cfg" = "static" ] || [ "$v4cfg" = "dhcp" ]; then # someone might feed 'manual' in or other such nonsense
mgr=$(grep ^deploy_server: /etc/confluent/confluent.deploycfg)
mgr=${mgr#deploy_server: }
fi