Skip to content

Commit

Permalink
libvirt: Ensure bridge name is the same as network name
Browse files Browse the repository at this point in the history
This is to ensure that if we decided to change the network name in the
future, the developer doesn't forget to change the bridge name as well.
  • Loading branch information
zeenix authored and cfergeau committed Dec 20, 2019
1 parent dbef810 commit 2059a3a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/crc/machine/libvirt/templates_linux.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ const (
<port start='1024' end='65535'/>
</nat>
</forward>
<bridge name='crc' stp='on' delay='0'/>
<bridge name='{{ .NetworkName }}' stp='on' delay='0'/>
<mac address='52:54:00:fd:be:d0'/>
<ip family='ipv4' address='192.168.130.1' prefix='24'>
<dhcp>
Expand Down

0 comments on commit 2059a3a

Please sign in to comment.