Face Thumb

u/chrisp@cyberplace.social
0 posts · 10 comments

Recent posts

No posts.

Recent comments

@tofu Can't you just use a rootless podman quadlet? Edit: Oh I see, I think it uses gitlab hooks to find out when there are new images available? You can probably point at latest on an image on a gitlab registry anyway and have a quadlet auto update?

on *Permanently Deleted* · c/selfhosted · 2 pts · 344d

@jobbies Eh? Just use Fedora/Alma/Rocky with BTRFS and Samba/NFS. You can even use an immutable flavour and not have to worry about updates breaking anything.

@UnfortunateShort @KarnaSubarna I think you are right about the official client, they really want to own the service so you can only connect to their decentralized service via their centralized servers 🙄 I haven't done it, but I think you can run your own client, either modifying and building it yourself, or surely one of the existing forks can connect to arbitrary servers? But anyone who wants to use your server will have to also use one of the forks.

@Cyber Bash also seems to default to only writing out the history entries when you cleanly exit, so I've definitely got gaps in my history when I killed a terminal or SSH session. When I leave work I do a quick "history -a" to append new entries that haven't been written out yet. Some people modify their bash prompt so that it writes each entry out instantly which I haven't done, but I think it would be a saner default.

@beerclue Exactly. You can take wiki bash instructions on how a system was set up and translate it to ansible, or back again. The ansible modules are python, but theoretically you could make a bash implementation that just calls dnf/systemctl/etc. directly, like a sys admin would have done.

@Cyber If you have some old wiki notes on how the system was setup originallythen it night be easier to ignore the current system and translate the wiki instructions into ansible. Still manual, but easier than reverse engineering. Another thing you can look at is bash history. Apart from backing up/cloning the system before you start I would also get a copy of the bash history for the various users and add it to a wiki or issue too. It will be useful.

@Cyber Yeah it's gonna be pretty manual as others have mentioned. Some areas to look at:
- Filesystem provisioning, mounts, etc.
- Packages
- Users, groups
- Time zone, locale language, time format etc.
- /etc/
- /root/ and /home/
- SSH settings
- Services
- Cron jobs/systemd timers

There is a bit of overlap between some of those categories. Some bits are going to see more or less use on VMs vs physical. And remember that in ansible there are built in modules for a lot of functionality.