Skip to content

[RFE] Set Azure NIC as unmanaged based on the metadata MAC address #554

@pothos

Description

@pothos

Current situation

We carry a hardcoded list of drivers in #553 to detect the bonded NICs (accelerated mode)

Impact

This breaks as soon as a different NIC gets used

Ideal future situation

We should investigate if the network setting can be set from afterburn or waagent, by creating a networkd unit matching with the MAC address from the instance metadata ("macAddress") to set it Unmanaged, including a negative matching for Driver=!hv_netvsc because the hv_netvsc bond interface eth0 has the same MAC address as the bonded interface.

Additional information

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    Status

    🪵Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions