From 5a0cd84dd5df8c7d8d89f292109461fbbbb2d396 Mon Sep 17 00:00:00 2001
From: lilly
Date: Fri, 21 Feb 2025 18:55:25 +0100
Subject: [PATCH] update readme regarding fixed switch_remote.sh script
---
README.md | 9 ++++-----
1 file changed, 4 insertions(+), 5 deletions(-)
diff --git a/README.md b/README.md
index 26efb71..e059629 100644
--- a/README.md
+++ b/README.md
@@ -94,11 +94,10 @@ See [sops-nix](https://github.com/Mic92/sops-nix)
Any NixOS VM can be reconfigured remotely by calling:
```bash
-./switch_remote.sh `
+./switch_remote.sh
```
- `` can be any of the [standard nixos-rebuild actions](https://wiki.nixos.org/wiki/Nixos-rebuild), e.g. `boot`, `switch`, etc.
-- `` should be the FQDN of the machine config to apply.
-
- The script uses this argument to know how to reach the machine in addition to choosing a nixos configuration from this flake as system source (see [systems/](./systems/)).
- This also means that you should have a config entry in you SSH config resolving the system name to an IP address (during the event, we will probably have an internal DNS server which also resolves the hostname).
+- `` is an ssh connection string (e.g. `noc@10.20.25.2`) and specifies where to deploy the configuration to.
+- `` should be the hostname of the system configuration to apply.
+ Any one of the systems defined in [systems/](./systems/) ending in `noc.eh22.intern` works.