mirror of
https://github.com/ublue-os/forge.git
synced 2025-07-03 08:21:19 +03:00
fix(setup): hostname -I no longer available on bluefin 42
temporary fix for #149
This commit is contained in:
parent
1e54d4bde0
commit
2b92fdd1ad
5
forge.sh
5
forge.sh
|
@ -9,8 +9,9 @@ export FORGE_POD_NAME_PRE_AMBLE="ublue-os_forge-"
|
|||
export FORGE_POD_NAME_REVERSE_PROXY=${FORGE_POD_NAME_PRE_AMBLE}rvproxy
|
||||
export FORGE_POD_NAME_REGISTRY=${FORGE_POD_NAME_PRE_AMBLE}registry
|
||||
export FORGE_POD_NAME_ANVIL=${FORGE_POD_NAME_PRE_AMBLE}anvil
|
||||
export FORGE_HOST_IP_ADDRESS=$(hostname -I | awk '{print $1}')
|
||||
|
||||
## TODO: hostname -I no longer working in fedora 42. Find better solution. -> https://github.com/ublue-os/forge/issues/149
|
||||
# export FORGE_HOST_IP_ADDRESS=$(hostname -I | awk '{print $1}')
|
||||
export FORGE_HOST_IP_ADDRESS=$(hostname -i | grep -oE '([0-9]{1,3}\.){3}[0-9]{1,3}' | head -n 1)
|
||||
|
||||
# Functions
|
||||
function setup {
|
||||
|
|
Loading…
Reference in a new issue