Use portable hostname - macos doesn't have /etc/hostname

This commit is contained in:
bluepython508
2024-09-26 12:23:27 +01:00
parent b0643a760e
commit 6944ff05e0
2 changed files with 2 additions and 2 deletions

2
.envrc
View File

@@ -1,5 +1,5 @@
use flake
export RELEASE_NODE=frajtano-test@$(cat /etc/hostname)
export RELEASE_NODE=frajtano-test@$(hostname -s)
export FRAJTANO_DIR=$PWD/.frajtano_state
export FRAJTANO_CONFIG=$PWD/config/config.exs