Commit 6a91d18
committed
fix(drivers): boot port must always use network-type interface
LibvirtPoolDriver.create_machine() applied the hypervisor's own
network_type (bridge/network) to the initial boot-network port. The
boot network is always a plain libvirt virtual network regardless of
the hypervisor's main network type, so on a bridge-type hypervisor
libvirt tried to treat the boot network's name as a literal host
bridge device name and rejected it as too long for IFNAMSIZ.
attach_port(), used for the real port attached later, is unaffected
and continues to honor network_type.1 parent ef31e66 commit 6a91d18
1 file changed
Lines changed: 7 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1269 | 1269 | | |
1270 | 1270 | | |
1271 | 1271 | | |
1272 | | - | |
1273 | | - | |
1274 | | - | |
| 1272 | + | |
| 1273 | + | |
| 1274 | + | |
| 1275 | + | |
| 1276 | + | |
| 1277 | + | |
| 1278 | + | |
1275 | 1279 | | |
1276 | 1280 | | |
1277 | 1281 | | |
| |||
0 commit comments