Creating an appliance instance while preserving a preinstalled base system #2146
Replies: 1 comment 4 replies
|
Hi @brainchild0 Good question. As far as I know, TurnKey appliances are built whole: TKLDev assembles the root filesystem from a plan and conf scripts, and the result ships as an ISO or a container/VM image. Turning an already-running base system into an appliance isn't a supported path, which is probably why you found nothing in the docs. You can approximate it by reading an appliance's repository (its plan/ package list and conf.d/ scripts) and applying them by hand to a matching Debian release. But expect friction where the appliance and your provider's image both want control: networking, cloud-init vs. TurnKey's inithooks first boot, SSH and TLS keys, and the confconsole/Webmin layer. Disclosure: I maintain Keel Linux, a Debian 13 derivative of TurnKey 19, and your use case is one of our design goals: every appliance component is a .deb, and the machine's state is declared in one YAML file that keel spec apply converges, so in principle it can be applied on top of an existing Debian 13. To be clear, that path isn't tested yet on provider images. What works today is keel-transition, which moves an existing TurnKey 19 appliance onto our archive. If you'd like to try the "apply onto a provider image" case, which provider and base image are you on? That's exactly the kind of report we need. |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
I have been using a cloud virtualization service that specializes in simplifying installation and administration of guest systems.
The platform offers prepared images, with various operating systems preinstalled, and also preconfigured for close integration with the infrastructure.
While it is possible to install from boot media, or to launch external pre-built images, it is quite inconvenient on the platform, and largely defeats its advantages. Many manual steps are required, both in managing the infrastructure and in preparing the guest system.
The preferred course for provisioning a guest system is to add the desired additional software and configuration from within the system, following successful boot of the preconfigured base system. Such operations, of course, should preserve the low level configuration that facilities integration with the infrastructure.
Installing software to a live system, after it has booted, may seem to some as contrary to the objectives of Turnkey Linux.
However, appliances offer notable advantages in efficiency, stability, security, safety, and convenience, which are highly appealing, regardless of the process for an appliance instance being created.
As I find no support for such an approach documented in the basic literature, I am seeking an informed discussion of its viability.
All reactions