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

Re: generic (cloud) image problems



On Fri, Dec 27, 2019 at 11:39:00PM +0100, Thomas Goirand wrote:
> >> it is virtually impossible to use the image for cloud-init based deployment:
> >> While cloud-init can also install missing packages, the install would
> >> happen *after* package installation and network setup. bridge-utils
> >> and vlan are required if the network setup has either a vlan or a
> >> bridge and gnupg2 is required to add 3rd party repos (otherwise
> >> "apt-key add" won't work). Both - network access and 3rd party repos -
> >> may be required for further steps of an deployment (i.e. to install
> >> automation tools like salt, chef or puppet).
> > 
> > I describe a workaround for the lack of "apt-key add" functionality at
> > https://salsa.debian.org/cloud-team/debian-cloud-images/issues/17#note_126311
> > 
> > We (the cloud team) have basically concluded in recent conversations
> > that cloud-init's usage of apt-key is a bug and should be removed.
> > 
> > noah
> 
> Though until that's fixed, Christian is right to complain.

Yes, but the workaround I provided completely replaces the missing
functionality.  IMO if the docs described the process in the workaround,
rather than the existing behavior based on apt-key, we'd be done.

noah


Reply to: