This document was written with using the GUI `virt-manager` to deploy a KernelVirtualMachine using our AutomatedSystemInstall. It's probably worth automating this with `virsh`/`virtinst` after solidifying things a bit more. == Update postinst == Create a post install script in the [[http://git.hcoop.net/?p=hcoop/machine-template.git;a=summary|machine-template]]. A post install script should extract kerberos keys, install any additional hcoop config packages needed, bootstrap domtool, and install a reasonable set of base software depending on the intended use. This is the install step most in need of improvement. == Provision Resources == Create a new VM named after the host, select a network install using the current Debian stable, and add the preseed options specified on AutomatedSystemInstall to the kernel command line. Allocate a reasonable number of maximum cores, RAM, and disk (less than 40G is not recommended, although we are using LVM and can resize disks if needed). Set network using a shared device, currently `br0:$HOST` (which may be the Wrong Way (tm)). == Debian Install == The installation is mostly automated. * Set the keyboard/language settings (accept the default), and enter the static network information specified on IpAddresses. The preseed will then be fetched and take over. * Create a root password (`pwgen -cny` with a length >= 9 is sufficient) when prompted, and store it in the password stash. * Confirm that the partition table should be written After the first reboot, log in as an admin user and run the post install script to integrate it into our infrastructure. You may have to reboot the machine once more to fully complete the process. Afterward, the machine should be fully functional (in the world of the ideal at least). ---- CategorySystemAdministration