cmd/vm: Remove '--change-default-route'

This is a no-op since:

commit 63ad932977664aff2b763d23f1e9efc5a6d001b4
Author: Guillaume Rose <gurose@redhat.com>
Date:   Thu Apr 29 15:13:55 2021 +0200

    Use DHCP instead of custom handshake between daemon and the VM
This commit is contained in:
Christophe Fergeau
2021-10-07 15:46:57 +02:00
parent 4ee84d66bd
commit da532d62aa

View File

@@ -25,13 +25,12 @@ import (
)
var (
endpoint string
iface string
stopIfIfaceExist string
mac string
debug bool
changeDefaultRoute bool
mtu int
endpoint string
iface string
stopIfIfaceExist string
mac string
debug bool
mtu int
)
func main() {
@@ -40,7 +39,6 @@ func main() {
flag.StringVar(&stopIfIfaceExist, "stop-if-exist", "eth0,ens3,enp0s1", "stop if one of these interfaces exists at startup")
flag.StringVar(&mac, "mac", "5a:94:ef:e4:0c:ee", "mac address")
flag.BoolVar(&debug, "debug", false, "debug")
flag.BoolVar(&changeDefaultRoute, "change-default-route", true, "change the default route to use this interface")
flag.IntVar(&mtu, "mtu", 4000, "mtu")
flag.Parse()