Image Creation Message Corrected + ucloud-host read Physical Device for VXLAN from .env
This commit is contained in:
parent
e37222c1c7
commit
5d613df33d
5 changed files with 183 additions and 3 deletions
|
|
@ -121,7 +121,7 @@ def get_start_command_args(
|
|||
network_id = str(network.value["id"])
|
||||
|
||||
if network_type == "vxlan":
|
||||
tap = create_vxlan_br_tap(network_id, "eno1")
|
||||
tap = create_vxlan_br_tap(network_id, config("VXLAN_PHY_DEV"))
|
||||
|
||||
command += " -netdev tap,id=vmnet{net_id},ifname={tap},script=no,downscript=no"\
|
||||
" -device virtio-net-pci,netdev=vmnet{net_id},mac={mac}"\
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue