threefoldtech / cloud-container

A builder for a simple initramfs image to run container over virtiofs inside cloud-hypervisor
Apache License 2.0
0 stars 1 forks source link

allow network setup to continue of one of the interface fails to apply #20

Closed muhamadazmy closed 7 months ago

muhamadazmy commented 8 months ago

Right now network config skips the entire setup if one of the interfaces fails to apply it's config. What we need to do instead is to make sure all network cares are tried.

A single nic setup can still fail if it faces an fatal error (for example couldn't bring the interface up). But failure to setup a route for example shouldn't be fatal.

But an interface fatal error shouldn't prevent other nics from being tried as well.