blob: 68104b7a0ebc049eb5947bd5c1bf3211c0291089 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
# Install ArchLinux
- Download [archlinux](https://archlinux.org/releng/releases/)
- Format a USB
- Unmount disk (on MacOS ex. `diskutil unmountDisk /dev/diskX`)
- 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/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 arch-<MACHINE>-iso.local
passwd
iwctl --passphrase <PASSPHRASE> station wlan0 connect <SSID>
dhcpcd wlan0
```
**Mac Example:**
```bash
hostnamectl set-hostname arch-macbook-iso.local
passwd
rmmod b43 ssb bcma wl
modprobe wl
ip link
iwctl --passphrase <PASSPHRASE> station wlan0 connect <SSID>
dhcpcd wlan0
```
|