summaryrefslogtreecommitdiffstats
path: root/archlinux.md
diff options
context:
space:
mode:
authorAhmed Abdelhalim <[email protected]>2026-04-23 00:15:45 +0200
committerAhmed Abdelhalim <[email protected]>2026-04-23 00:15:45 +0200
commit30eb7447283d6f8a59f081a5b75a8ced3590b44e (patch)
tree2bd99435404b9cbb21abd147c75b54d167e89ee9 /archlinux.md
parent6d5b3d5f42ac72e220560e9d3971ed8a9bbb642b (diff)
Refactor inventory
Diffstat (limited to 'archlinux.md')
-rw-r--r--archlinux.md9
1 files changed, 5 insertions, 4 deletions
diff --git a/archlinux.md b/archlinux.md
index 5138de1..68104b7 100644
--- a/archlinux.md
+++ b/archlinux.md
@@ -6,16 +6,17 @@
- Create bootable image from iso `sudo dd if=/path/to/image.iso of=/dev/diskX bs=4M status=progress`
- Boot the `archiso` live image from a bootable USB.
- Set root password (which will be asked to run the install playbook).
+- Set the host name `arch-<MACHINE>-iso.local`
- Reload `boradcom-wl` module on Mac.
- Connect to wireless network (if not connected via LAN).
-- `cp host_vars/archiso.local.example host_vars/archiso.local`
-- Update the `host_vars/archiso.local` file.
+- `cp host_vars/arch-<MACHINE>-iso.local.example host_vars/arch-<MACHINE>-iso.local`
+- Update the `host_vars/arch-<MACHINE>-iso.local` file
- Run the playbook on the ansible controller.
**Generic Example:**
```bash
-hostnamectl set-hostname archiso.local
+hostnamectl set-hostname arch-<MACHINE>-iso.local
passwd
iwctl --passphrase <PASSPHRASE> station wlan0 connect <SSID>
dhcpcd wlan0
@@ -24,7 +25,7 @@ dhcpcd wlan0
**Mac Example:**
```bash
-hostnamectl set-hostname marchiso.local
+hostnamectl set-hostname arch-macbook-iso.local
passwd
rmmod b43 ssb bcma wl
modprobe wl