mirror of
https://github.com/ublue-os/forge.git
synced 2025-07-04 00:41:18 +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
1 changed files with 3 additions and 2 deletions
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_REVERSE_PROXY=${FORGE_POD_NAME_PRE_AMBLE}rvproxy
|
||||||
export FORGE_POD_NAME_REGISTRY=${FORGE_POD_NAME_PRE_AMBLE}registry
|
export FORGE_POD_NAME_REGISTRY=${FORGE_POD_NAME_PRE_AMBLE}registry
|
||||||
export FORGE_POD_NAME_ANVIL=${FORGE_POD_NAME_PRE_AMBLE}anvil
|
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
|
# Functions
|
||||||
function setup {
|
function setup {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue