[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: fai bullseye image vs image from cloud.debian.org



On Sun, May 01, 2022 at 07:53:01PM +0000, dimitris.paraskevopoulos wrote:
> I want to create the latest genericcloud bullseye image for amd 64 from https://cloud.debian.org/images/cloud/bullseye/latest/ but without unattended-upgrades and with qemu-guest-agent installed.
> 
> I checked out https://salsa.debian.org/cloud-team/debian-cloud-images and run make image_bullseye_genericcloud_amd64 without my desired changes hoping that it would be the exact same behaviour as the downloaded image from the cloud but I am having a problem.
> 
> I created 2 template VM's one with each image and I am seeing different behaviours when provisioning the VM through terraform by cloning the template.

To start with, I'd compare the installed packages.  I'd expect no new or
missing packages, and only minor differences in versions.  You can find the
installed package versions in the json file describing in the image.  The
official images have this online, for example, at [1].  Your local build will
produce a similar file (though the format is a little different).

> Basically the cloud image works as expected when I set a static IP but the fai generated one does not. When using the fai image the VM gets a DHCP address despite specifying a static one and in general does not seem to get into cloud-init.

I'd look at /var/log/cloud-init*, as well as systemctl status cloud-init.
Hopefully you'll find something useful that tells you where to look next.

Ross

[1] - https://cloud.debian.org/images/cloud/bullseye/latest/debian-11-genericcloud-amd64.json


Reply to: