> On 24 Oct 2022, at 22:40, Olaf Meeuwissen <paddy-hack@???> wrote:
>
> Hi Tom,
>
> wirelessduck--- via Dng <dng@???> writes:
>
>> Hi,
>>
>> I’m attempting to automate installing devuan VMs in VMware using
>> hashicorp packer and/or terraform. The docs mention that they support
>> preseed files and also cloud-init.
>>
>> https://www.packer.io/guides/automatic-operating-system-installs/preseed_ubuntu
>>
>> https://www.hashicorp.com/blog/provision-terraform-infrastructure-using-packer-and-cloud-init
>>
>> Is there good reasons to use one over the other for Devuan?
>>
>> It looks like preseed has more configurability over the end system,
>> but cloud-init is faster using an existing container image?
>
> Preseed is specific to the Debian/Devuan installer (and maybe other
> Debian derivatives). cloud-init is meant to customize an already
> installed virtual machine image, AFAIK.
>
>> Is there somewhere I can find a list of all the preseed options for
>> devuan installer? Or can I just refer to the Debian list at
>> https://preseed.debian.net/debian-preseed/?
>>
>> Is cloud-init supported on Devuan?
>
> On my daedalus machine
>
> $ apt search cloud-init
> Sorting... Done
> Full Text Search... Done
> cloud-init/testing 22.2-3.1 all
> initialization system for infrastructure cloud instances
>
> cloud-initramfs-dyn-netconf/unstable,testing 0.18.debian8 all
> write a network interface file in /run for BOOTIF
>
> cloud-initramfs-growroot/unstable,testing 0.18.debian8 all
> automatically resize the root partition on first boot
>
> cloud-initramfs-rescuevol/unstable,testing 0.18.debian8 all
> boot off a rescue volume rather than root filesystem
>
>> Are there any other tools I should be using instead of preseed or
>> cloud-init?
>
> Not that I'm aware of.
>
> Hope this helps,
> --
> Olaf Meeuwissen
Thanks Olaf,
I will take a first shot at preseed and see how it goes.
Tom