mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-07-12 22:58:58 +00:00
Merge pull request #1502 from amshinde/make-tc-default
network: Make tcfilter model as default
This commit is contained in:
commit
edc77a0263
2
Makefile
2
Makefile
@ -210,7 +210,7 @@ ifneq (,$(QEMUCMD))
|
||||
|
||||
# qemu-specific options (all should be suffixed by "_QEMU")
|
||||
DEFBLOCKSTORAGEDRIVER_QEMU := virtio-scsi
|
||||
DEFNETWORKMODEL_QEMU := macvtap
|
||||
DEFNETWORKMODEL_QEMU := tcfilter
|
||||
KERNELNAME_QEMU = $(call MAKE_KERNEL_NAME,$(KERNELTYPE))
|
||||
KERNELPATH_QEMU = $(KERNELDIR)/$(KERNELNAME_QEMU)
|
||||
endif
|
||||
|
@ -112,7 +112,7 @@ func (n *NetInterworkingModel) SetModel(modelName string) error {
|
||||
// DefaultNetInterworkingModel is a package level default
|
||||
// that determines how the VM should be connected to the
|
||||
// the container network interface
|
||||
var DefaultNetInterworkingModel = NetXConnectMacVtapModel
|
||||
var DefaultNetInterworkingModel = NetXConnectTCFilterModel
|
||||
|
||||
// Introduces constants related to networking
|
||||
const (
|
||||
|
Loading…
Reference in New Issue
Block a user