Commit Graph

8 Commits

Author SHA1 Message Date
36c1c2649c Stop enabling ssh manually.
That's not required, it's already enabled in Debian images.
2024-07-20 14:06:47 +02:00
5e5836d378 Use adduser instead of useradd/usermod.
It's a matter of habit more than an absolute technical requirement.
Quoting the useradd manpage:

    useradd is a low level utility for adding users. On Debian,
    administrators should usually use adduser(8) instead.
2024-07-20 14:06:47 +02:00
b9bf65b4a1 Drop ssh configuration.
The default SSH configuration is Debian 12 is as follows:

    #PermitRootLogin prohibit-password
    #PermitEmptyPasswords no

(The default values are commented out, ready to be tweaked by local
admins.)
2024-07-20 14:06:47 +02:00
7282fa4fa1 Align /etc/hosts entries.
No functional changes.
2024-07-20 14:06:47 +02:00
1c9b6b2bef Assign pirogue.local and pirogue to 127.0.1.1
It's pretty standard to have 127.0.0.1 match localhost while the actual
machine's name (FQDN and hostname) matches 127.0.1.1 instead.

We would be happy to be told if something similar exists for IPv6!
2024-07-20 14:06:47 +02:00
0dd2b1a2c9 Deduplicate /etc/hosts pirogue entries. 2024-07-20 14:06:47 +02:00
9ede6bb93f Turn the original hook into a toaster recipe. 2024-07-20 14:06:45 +02:00
c5254d41b4 Import original pirogue-os hook.
This needs to be run within the target system (within a chroot).
2024-07-20 07:40:26 +02:00