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

Bug#982356: (no subject)



On 26/02/21 at 22:17 +0100, Lucas Nussbaum wrote:
> On 25/02/21 at 19:06 +0100, Emmanuel Kasper wrote:
> > I think this bug is due to the switch to fai for testing/bullseye.
> > IIRC with fai, we run a dhcp client for each interface, which would
> > cause the double IP adresses you see (one set up by DHCP, one set up by
> > Vagrant directly over ssh when booting the VM)
> 
> Right. But the solution is not obvious.
> 
> If we want to do DHCP only on the first interface, we need to hardcode
> this in the image. But how can we know the name of the interface?
> Apparently it's enp0s3 with virtualbox, and something different with
> libvirt (because my test fails).
> 
> We could go back to traditional names and do DHCP on eth0...

Tentative patch that doesn't work completely because of the above issue:
https://salsa.debian.org/cloud-team/debian-vagrant-images/-/commit/735f0a2ba3ad1124fa0c86b159a31e94489807c6

Lucas


Reply to: