LXD 3.0.3 on Ubuntu 18.04.
I don’t have ‘infiniband’ on my host machine, but it seems maybe I can use a spare ethernet port on my host directly in the guest???
I was able to successfully (maybe) add the ethernet port to a container; it disappeared from the host. The container was running at the time, so I restarted it. But then got the error:
Error: Common start logic: Missing parent 'eno2' for nic 'eth1'
eno2 is the nic name on the host. The command I used to add it to the container was:
lxc config device add webserver eth1 nic nictype=physical parent=eno2
If that is wrong, what should I have used?
Also - can I set nic passthrough on creation so the container ONLY has the physical nic?
Finally, can I get my eno2 back on the host without rebooting now?