Merge pull request 'Add documentation how to connect to installer' (#2600) from Mic92-vars-fixes into main

This commit is contained in:
clan-bot
2024-12-16 09:15:49 +00:00
2 changed files with 18 additions and 2 deletions

View File

@@ -67,6 +67,13 @@ sudo umount /dev/sdb1
--ssh-pubkey <pubkey_path>
```
If you do not have an ssh key yet, you can generate one with `ssh-keygen -t ed25519` command.
This ssh key will be installed into the root user.
- **Connect to the installer
On boot, the installer will display on-screen the IP address it received from the network.
If you need to configure Wi-Fi first, refer to the next section.
If Multicast-DNS (Avahi) is enabled on your own machine, you can also access the installer using the `flash-installer.local` address.
- **List Keymaps**:
You can get a list of all keymaps with the following command:
@@ -128,6 +135,12 @@ sudo umount /dev/sdb1
sudo dd bs=4M conv=fsync status=progress if=./nixos-installer-x86_64-linux.iso of=/dev/sd<X>
```
- **Connect to the installer
On boot, the installer will display on-screen the IP address it received from the network.
If you need to configure Wi-Fi first, refer to the next section.
If Multicast-DNS (Avahi) is enabled on your own machine, you can also access the installer using the `nixos-installer.local` address.
### Step 3: Boot From USB Stick
- To use, boot from the Clan USB drive with **secure boot turned off**. For step by step instructions go to [Disabling Secure Boot](../manual/secure-boot.md)

View File

@@ -6,7 +6,7 @@
}:
let
network-status = pkgs.writeShellScript "network-status" ''
network-status = pkgs.writeShellScriptBin "network-status" ''
export PATH=${
lib.makeBinPath (
with pkgs;
@@ -50,7 +50,10 @@ in
./zfs-latest.nix
];
environment.systemPackages = [ pkgs.nixos-facter ];
environment.systemPackages = [
pkgs.nixos-facter
network-status
];
########################################################################################################
# #