base arch fixes

This commit is contained in:
2023-10-20 00:01:30 -04:00
parent e1a46cff50
commit 72dc813592

View File

@@ -182,7 +182,7 @@ Follow most of the instructions here:
editor no editor no
``` ```
29. Create a loader (/usr/share/systemd/bootctl/loader.conf for example) 29. Create a loader (/usr/share/systemd/bootctl/arch.conf for example)
/boot/loader/entries/main.conf /boot/loader/entries/main.conf
@@ -197,7 +197,7 @@ Follow most of the instructions here:
the excess and copy it into the correct location. the excess and copy it into the correct location.
```bash ```bash
blkid | grep /dev/vda2 >> /boot/loader/entries.conf blkid | grep /dev/vda2 >> /boot/loader/entries/main.conf
``` ```
30. `useradd ducoterra` 30. `useradd ducoterra`
@@ -211,10 +211,11 @@ Follow most of the instructions here:
38. `locale-gen` 38. `locale-gen`
39. `systemctl enable dhcpcd` 39. `systemctl enable dhcpcd`
40. If on VM install guest drivers: `pacman -S qemu-guest-agent spice-vdagent` 40. If on VM install guest drivers: `pacman -S qemu-guest-agent spice-vdagent`
41. `exit` 41. If you need ssh: `pacman -S openssh; systemctl enable sshd`
42. `reboot` 42. `exit`
43. Remove your installation medium and boot into arch 43. `reboot`
44. Add a pacman hook for systemd-boot updates 44. Remove your installation medium and boot into arch
45. Add a pacman hook for systemd-boot updates
/etc/pacman.d/hooks/95-systemd-boot.hook /etc/pacman.d/hooks/95-systemd-boot.hook
@@ -346,7 +347,7 @@ Using `--tpm2-pcrs=7` enforces secure boot and will require password if secure b
```bash ```bash
pacman -S ufw pacman -S ufw
systemctl enable ufw systemctl enable --now ufw
``` ```
#### AppArmor #### AppArmor
@@ -362,7 +363,7 @@ paths they can touch, even if they run as root.
3. `systemctl enable --now auditd` 3. `systemctl enable --now auditd`
4. Add the correct kernel parameters 4. Add the correct kernel parameters
/boot/loaders/entries/arch.conf /boot/loaders/entries/main.conf
```conf ```conf
title Arch Linux title Arch Linux