On 12/27/19 10:25 PM, Noah Meyerhans wrote: > On Fri, Dec 27, 2019 at 02:16:05PM +0100, Christian Tramnitz wrote: >> However, I'm running into multiple problems staging a system through >> cloud-init. >> Without the packages >> - bridge-utils >> - vlan >> - gnupg2 >> 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. Thomas