2021-11-30 17:08:45 +00:00
== 1-prep README
This 1st
https://github.com/iiab/iiab/wiki/IIAB-Contributors-Guide#ansible[stage]
(1-prep) arranges low-level things like remote support infra, DNS prep,
hardware, low-level OS quirks, and basic security:
* SSHD
* OpenVPN if/as needed later for remote support
* https://github.com/iiab/iiab/tree/master/roles/iiab-admin#iiab-admin-readme[iiab-admin]
username and group, to log into Admin Console
* dnsmasq (install now, configure later!)
* Universally unique identifier: /etc/iiab/uuid
* Ubermix (distro) needs /etc/tmpfiles.d/iiab.conf to create essential
/var/log subdirs on each boot
2021-11-30 17:32:33 +00:00
* *_Hardware actions:_*
2022-03-15 15:00:07 +00:00
** Install package cloud-guest-utils for growpart
** Install https://github.com/iiab/iiab/blob/master/roles/1-prep/templates/iiab-expand-rootfs[iiab-expand-rootfs] that acts on flag `/.expand-rootfs` at boot
2021-11-30 17:32:33 +00:00
** link:tasks/raspberry_pi.yml[*_raspberry_pi.yml_*]:
2021-11-30 17:08:45 +00:00
*** RTC (real-time clock): install udev rule, configure, enable
2022-03-15 15:00:07 +00:00
*** *_Install packages:_*
**** dphys-swapfile (for swapfile)
2021-11-30 17:08:45 +00:00
**** fake-hwclock (as RTC is often missing or dead!)
2022-03-15 15:00:07 +00:00
**** iw, rfkill, wireless-tools (for internal Wi-Fi)
*** Increase swap file size (to `pi_swap_file_size`)
2021-11-30 17:08:45 +00:00
** NUC 6 Wi-Fi firmware
Recap: Similar to 0-init, 2-common, 3-base-server, 4 server-options and
5-xo-services — this 1st stage installs core server infra (that is not
user-facing).