Skip to content

Commit

Permalink
feat(stage-2/runtipi): preconfigure runtipi localDomain
Browse files Browse the repository at this point in the history
  • Loading branch information
steveiliop56 committed Jun 9, 2024
1 parent 899bfd3 commit 5c29d1f
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions stage2/04-install-runtipi/01-run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,14 @@ on_chroot << EOF
chown -R ${FIRST_USER_NAME} "/home/${FIRST_USER_NAME}/runtipi/"
EOF

# Set runtipi hostname

echo "Setting runtipi hostname..."

mkdir -p "${RUNTIPI_PATH}/state"

echo '{"localDomain":"runtipi.local"}' > "${RUNTIPI_PATH}/state/settings.json"

# Enable runtipi on boot

echo "Install service..."
Expand Down

0 comments on commit 5c29d1f

Please sign in to comment.