I work with a non-profit that installs an Ubuntu variant on machines every week, thousands per year.  However, the destination hard drive size varies depending on what's donated.The current install procedure uses a CD, then hand editing of settings.  What's a better way?If a small master drive is instead cloned, how can the partition size be adjusted for each final target drive's size?
Cloning 20 machines a week: how to clone to variable size destination drives (small to large)
system installation;clonezilla;replication
This is commonly done with SBCs (raspberrypi, odroid, etc) what they do is add a line to /etc/rc.local, something like;if [ -f init.sh ] ; then init.sh; fiand init.sh resizes the partition ext4 (with or without lvm) then deletes itself.pvresize /dev/sda2lvresize -l +100%FREE /dev/V_a/L_aresize2fs /dev/V_a/L_arm init.shto copy an image use dd;dd if=my.img of=/dev/sdb bs=10m; sync