As we mentioned before, making TurnKey easy to deploy on as many public and private clouds is an important goal for the project.
I'm pleased to announce that we have just added Xen to the list of optimized builds. They are hot out of the build farm and available for immediate download.
You can get them from the Download link on the appliance pages.
Pre-seeding / Default passwords
The Xen images are mainly built for hosting providers who utilize the Xen Hypervisor.
Because Xen builds are used in headless deployments (without an interactive console), they include an inithook which preseeds default values and passwords.
/usr/lib/inithooks/firstboot.d/29preseed MASTERPASS=turnkey cat>$INITHOOKS_CONF<<EOF export ROOT_PASS=$MASTERPASS export DB_PASS=$MASTERPASS export APP_PASS=$MASTERPASS export APP_EMAILemail@example.com export APP_DOMAIN=DEFAULT export HUB_APIKEY=SKIP export SEC_UPDATES=FORCE EOF
You will most likely want to have your provisioning system to override the defaults by creating /etc/inithooks.conf.
Note that inithooks.conf will be blanked out once its no longer needed for security. You should also make sure that inithooks.conf includes *ALL* of the variables, otherwise the inithook system will turn on interactivity.
If you cannot support preseeding, the alternative is to have the user execute turnkey-init on first login.
Muchas Gracias to Marc from GigaTux (an official TurnKey partner) for testing the Xen images and providing feedback!