For context, I'm creating a script to simplify the process of creating xen guests. The script uses
xen-create-image and uses a bunch of flags to set as many useful settings as possible (distro, vg, root-disk size, IP, etc). This is all on a Debian 10.
I want to know if there's an other Xen tool or configuration I can use to (pre)install certain packages, and set certain settings/configuration files in the newly created guest.
I want to avoid using an image file with all the preinstalled packages and then
dd into the new LV, and then have to change hostnames, IP, etc.
Is there such a command or setting?
EDIT: For clarification, I'm using open source Xen 4.11
EDIT 2: I have considered SSH, but apparently xen-create-image does not install and enable openssh-server.