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

Re: generic (cloud) image problems



On 12/27/19 9:15 PM, Geert Stappers wrote:
> On Fri, Dec 27, 2019 at 02:16:05PM +0100, Christian Tramnitz wrote:
>> I'm trying to use the Buster generic image
>> (https://cdimage.debian.org/cdimage/cloud/buster/20191117-80/debian-10-generic-amd64-20191117-80.qcow2)
>> to automate deployment of KVM-based VMs. The reason that I'm not using
>> the genericcloud or OpenStack image is that I'm passing through
>> network VFs that require "hardware" drivers not included in the other
>> images.
>>
>> 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
> 
> package iproute2 provides what you think you are missing.
> 
> See https://www.baturin.org/docs/iproute2/#Link%20management for
> examples of VLAN and bridge configuration.

Probably the ip command can be used to setup vlan, though to my
understanding, the vlan package is needed for ifupdown to understand
interfaces of type vlan<ID>, and the same way, bridge-utils is needed
for bridges, and ifenslave for bonding. I do believe that Christian
request is very much valid, and that the above 3 packages should be
installed, together with gnupg2.

>> 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).

Though I do understand that gnupg2 is better there by default, I have a
few remarks that may help as workarounds.

I don't see why you'd like to install puppet from upstream. The puppet
package in Debian is very well maintained, and probably better than the
one from upstream.

Also, if you're installing stuff through metadata, why can't you first
install gnupg2, then install 3rd party repos?

Cheers,

Thomas Goirand (zigo)


Reply to: