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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user