Skip to content

Remove .local / Avahi support (connect by IP or DNS hostname) #14

@VijitSingh97

Description

@VijitSingh97

Goal

Companion to p2pool-starter-stack/pithead#93 — drop the mDNS/.local convenience from RigForge to match the stack (which is removing it). Workers connect to the stack by IP or DNS hostname instead of <host>.local.

Why

The .local convenience is LAN-only (useless on VPS/cloud or mDNS-blocked networks), adds an avahi-daemon dependency, and is a recurring source of confusion. A stable address is better achieved with a DHCP reservation / static IP.

Remove

  • rigforge.sh — the "smart address handling" that appends .local to short hostnames (P2POOL_NODE_ADDRESS="${P2POOL_NODE_HOSTNAME}.local"); use the provided hostname/IP as-is.
  • rigforge.sh — drop avahi-daemon from the installed dependency lists (apt/dnf/pacman).
  • README / config docs — replace any <host>.local guidance with "use the stack's IP or a DNS hostname (a DHCP reservation / static IP gives a stable address)."

Acceptance

  • No .local/avahi anywhere in RigForge; a worker configured with an IP or hostname connects to the stack's :3333.

Related

  • pithead#93 — the stack-side removal.

Metadata

Metadata

Assignees

No one assigned

    Labels

    infraDeployment, packaging, releasessetuprigforge.sh, config.json, first-run setup

    Type

    No fields configured for Task.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions