mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-07-01 17:52:40 +00:00
firecracker: Network API update
The Network API no longer supports the state field. Using the state field causes the API call to fail. Note: The firecracker binary needs to be updated to match the API as the older versions will expect the state field. Fixes: #1078 Signed-off-by: Manohar Castelino <manohar.r.castelino@intel.com>
This commit is contained in:
parent
174e0c98bc
commit
ec5cf18bd1
@ -525,7 +525,6 @@ func (fc *firecracker) fcAddNetDevice(endpoint Endpoint) error {
|
||||
GuestMac: endpoint.HardwareAddr(),
|
||||
IfaceID: &ifaceID,
|
||||
HostDevName: endpoint.NetworkPair().TapInterface.TAPIface.Name,
|
||||
State: "Attached",
|
||||
}
|
||||
cfg.SetBody(ifaceCfg)
|
||||
cfg.SetIfaceID(ifaceID)
|
||||
|
Loading…
Reference in New Issue
Block a user