Quantcast
Viewing all articles
Browse latest Browse all 4909

General discussion • Re: Raspbian Lite Image

Here's a bit more about sdm mentioned by davidcoton, and provide a bit of comparison about the various composition.

sdm is a set of command scripts, typically installed into /usr/local/sdm, that provide a couple of basic functions:
  • Generally, customize an IMG so that it's configured exactly as you want it, but typically with no identity (hostname, host-specific network configuration, etc).
  • When a disk is needed, you simply burn that IMG to a disk and do any host-specific customizations that you want to do. Examples: setting those identity items mentioned above, and any host-specific software or configuration that's needed.
  • sdm has a few other functions such as 'exploring' an IMG or a burned disk, and extending or shrinking an IMG
  • sdm is command-line driven, and is fully documented with examples
I wrote an article comparing pi-gen, sdm, and rpi-imager. You can read it here. In addition to those comments, I would expect rpi-imager to enable cloud_init to enable further host configuration. This will be a great improvement!

Getting started with sdm:

Code:

curl -L https://raw.githubusercontent.com/gitbls/sdm/master/EZsdmInstaller | bashsudo sdm --customize --plugin user:"adduser=bls|password=mypassword" --plugin L10n:host --plugin disables:piwiz --regen-ssh-host-keys --restart 2023-12-05-raspios-bookworm-arm64.imgsudo sdm --burn /dev/sde --hostname mypi1 --expand-root 2023-12-05-raspios-bookworm-arm64.img

Statistics: Posted by bls — Fri May 03, 2024 6:39 pm



Viewing all articles
Browse latest Browse all 4909

Trending Articles