HomeVyOS Platform

cloud-init: T5190: Added Cloud-init pre-configurator

Description

cloud-init: T5190: Added Cloud-init pre-configurator

Added a new service that starts before Cloud-init, waits for all network
interfaces initialization, and if requested by config, checks which interfaces
can get configuration via DHCP server and creates a corresponding Cloud-init
network configuration.

This protects from two situations:

  • when Cloud-init tries to get meta-data via eth0 (default and fallback variant

for any data source which depends on network), but the real network is connected
to another interface

  • when Cloud-init starts simultaneously with udev and initializes the first

interface to get meta-data before it is renamed to eth0 by udev

Details

Provenance
zsdcAuthored on May 4 2023, 7:41 PM
Parents
rVYOSONEX2c5307d42e0d: Merge pull request #1969 from jestabro/eq-multipart-parser
Branches
Loading...
Tags
Loading...