Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
incus-agent: Load virtio_net before configuring NICs
On some distros, virtio_net may not be loaded by the time the agent starts up. This isn't really a problem normally as the agent doesn't need access to the network, but it is a problem if the user is using agent.nic_config to rename network interfaces. So just attempt to load virtio_net prior to performing any reconfiguration. Signed-off-by: Stéphane Graber <[email protected]>
- Loading branch information