There is a subtle, almost sadistic pleasure in what I’m doing right now: I open boxes of brand-new ThinkCentre PCs, unpack them, hook them up to a monitor, keyboard, and network cable. I boot from USB and replace the preinstalled Windows 11 (never even started) with my Debian 13 golden image, using Clonezilla.

As of today, the setup is based on Debian 13, but I’m already working on a variant based on FreeBSD and jails.

#Linux #FreeBSD #Clonezilla #LiberatingPCs

@stefano Nice! I do the same, but instead of a "gold image", I'm using the stock installer with a pre-seed config file, and then a script to configure / update etc., so that it ends up full up to date.

@neil this is a good approach. In this case, these PCs will be used in a youth center, so access to them is managed by a remote FreeBSD server (connected via VPN) that handles logins, access time, and so on. The server sends commands (via SSH) to a MikroTik router/firewall/access point to open or close NAT rules, firewall rules, and similar as needed.

Users log in and, after authentication, an X session (with the MATE desktop) is launched via Docker, which they can use freely for the assigned time. At the end of the session, the container is destroyed and recreated.

This setup was originally based on virtual machines, but since 2019 it has been managed this way. I am now working on a new setup based on FreeBSD, using jails instead of containers. It works quite well, I just need to fine-tune a few things, but given the urgency here, I used the already prepared and well-tested setup on Debian 13.

I am preparing 8 PCs, and I have around a hundred deployed overall. From time to time I update the β€œdesktop” Docker container and, via a private registry, the machines download the updated image on the next boot, making it available to users.

It has proven to be very reliable, requiring very little intervention over the years, aside from occasional hardware failures.

@stefano @neil Howto when? 😎
@oxyhyxo @neil eheh not for now. This is a setup I'm selling as a service, so I cannot (totally) describe it πŸ™‚

@stefano @neil Of course πŸ™‚

It does sound cool!

@[email protected] Thanks for letting us know that you use Clonezilla for the imaging. Do you pull the Debian image from your network, or an external USB drive?
@passthejoe I've configured one of them, then via sftp copied it into my internal server.
@[email protected] I don't hear a lot about mass provisioning and maintenance of Linux and BSD desktops.

@passthejoe provisioning: we used to have a PXE boot setup at my former place of ork. Easy enough.

Maintenance: 'dnf install dnf5-plugin-automatic' (or equivalent), set install to "yes", enable timer, done. Most likely via Ansible. At least if you keep an internal repo for your packages, which you totally should.
@stefano

@stefano always enjoy nuking a fresh Windows install!
@stefano How many boxes are you talking about here? What are they going to be used for?
I just bought a used PC and put Proxmox 9 (trixie based) onto it. I'm not sure what to do about that Windows 10 sticker. There has got to be something fun to do with it.
@stefano nothing sadistic about it. if anything, it is the responsible thing to do! have fun!
@stefano get me that job πŸ€“
@stefano Therapy, it is therapy :)
@stefano
It would be far better to buy hardware with a #preinstalled #FOSS #operatingsystem such as Dell or some #fossfriendly vendors such as Slimbook or Penguin but I guess you don't have the luxory of choice
@paoloredaelli @stefano Another vendor is Tuxedo so there is some choice if migration is an option.
@paoloredaelli exactly. Those were bought directly by the customer, so I couldn't do anything. I've also been aware of the hardware when collecting them. Luckily they're normal Intel i5 machines, so no compatibility problems.