aboutsummaryrefslogtreecommitdiff
path: root/TODO.org
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2026-01-19 22:04:15 -0600
committerCraig Jennings <c@cjennings.net>2026-01-19 22:04:15 -0600
commit62442ea12514d36150d2b2694ef42d4ebed40ad7 (patch)
treede914d5e02f31659e0b69c5d382b6a8b0b4cd6bd /TODO.org
parent906cc6f2186f2120bbbf85638dbdcde32645ded6 (diff)
downloadarchangel-62442ea12514d36150d2b2694ef42d4ebed40ad7.tar.gz
archangel-62442ea12514d36150d2b2694ef42d4ebed40ad7.zip
Add TODO for Avahi on installed systems, mark live ISO Avahi as done
- Live ISO Avahi implemented in 906cc6f (archzfs.local works) - Added TODO to implement Avahi on installed systems - Update session context
Diffstat (limited to 'TODO.org')
-rw-r--r--TODO.org35
1 files changed, 32 insertions, 3 deletions
diff --git a/TODO.org b/TODO.org
index 1d5d4f6..f52bc38 100644
--- a/TODO.org
+++ b/TODO.org
@@ -238,13 +238,42 @@ Features to consider:
- Mount dataset for build artifacts and cache
- Snapshot before/after builds for easy cleanup
-** TODO [#C] Consider Avahi for USB boot disk discoverability
+** DONE [#C] Consider Avahi for USB boot disk discoverability
+CLOSED: [2026-01-19 Sun]
Make the live ISO discoverable on the network by name (e.g., archzfs.local) when booted.
This would make SSH access easier without needing to find the IP address.
-Already have avahi package installed - just need to configure/enable it.
+Implemented in commit 0bd172a:
+- Added avahi and nss-mdns packages to ISO
+- Enabled avahi-daemon.service
+- Set hostname to "archzfs"
+- Live ISO now accessible as root@archzfs.local
+
+** TODO [#B] Add Avahi mDNS to installed systems
+Currently Avahi is only configured on the live ISO, not on the installed system.
+After install-archzfs completes and the user reboots, mDNS doesn't work.
+
+*** Implementation
+Add to install-archzfs (during package installation or system configuration):
+#+BEGIN_SRC bash
+# Install Avahi for mDNS discovery
+pacstrap /mnt avahi nss-mdns
+
+# Enable avahi-daemon
+arch-chroot /mnt systemctl enable avahi-daemon.service
+
+# Configure NSS for mDNS (if not automatic)
+# Ensure /etc/nsswitch.conf has mdns_minimal in hosts line
+#+END_SRC
+
+*** Result
+After installation, system will be accessible as <hostname>.local on the local network.
+Example: ratio.local, framework.local, etc.
-Note: Nice to have but not critical. IP can be found via router or console.
+*** Notes
+- Hostname is already set during install (user provides it)
+- nss-mdns should auto-configure nsswitch.conf on install
+- Test on next install to verify it works
** TODO [#C] Consider adding bootable archzfs ISO to GRUB boot menu
Store the archzfs ISO on disk and add a GRUB menu entry to boot it directly - no USB drive needed for recovery/reinstall.