Skip to content

Commit

Permalink
Rename macvlan/vtap devices to kvm-macvlan/vtap
Browse files Browse the repository at this point in the history
This way they are easier to indentify and delete in a net=host network
  • Loading branch information
Fernando Alvarez committed Oct 5, 2016
1 parent 1cd5db1 commit d5287d6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions startvm
Original file line number Diff line number Diff line change
Expand Up @@ -148,8 +148,8 @@ configureNetworks () {
fi

local CIDR=$(ip address show dev $iface | awk "/inet $IP/ { print \$2 }" | cut -f2 -d/)
local vtapdev="macvtap$i"
local vlandev="macvlan$i"
local vtapdev="kvm-macvtap$i"
local vlandev="kvm-macvlan$i"

# macvtap device creation for the VM
ip link add link $iface name $vtapdev type macvtap mode bridge
Expand Down

0 comments on commit d5287d6

Please sign in to comment.