Debian Template Image Preparation and Cloning

ROUGH DRAFT

Fresh Install of VM

Fresh Debian Installation

To be documented

Post-install Ubuntu Configuration

VIM Tweaks

Template Image Prep

Set up OpenSSH Key Reconfiguration

If you simply clone a Debian image without resetting the OpenSSH server host keys, an attacker can take those host keys and perform a MITM SSH attack on any system that was cloned from the same image. So we have to make sure those are reset before we make the image, and then automatically regenerated on the next boot.

Clear the Machine ID

Genericize the interface config

Clear the Bash, VIM, and other history

Shutdown

Create the Template or Image

XCP-NG

Using XOA Xen Orchestra


Revision #8
Created 1 October 2024 16:15:11 by jholmstadt
Updated 1 October 2024 18:32:48 by jholmstadt