summaryrefslogtreecommitdiff
path: root/argv.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-10-25 15:01:16 -0500
committerJeff Carr <[email protected]>2024-10-25 15:01:16 -0500
commit9451e162a042d648270050d91be0bf1f4dee1e7e (patch)
treebca3bcfb02d9a614449a01982144dce59d8540c2 /argv.go
parent7af7c876e46fa0444ea0930cfab599922a2367d2 (diff)
ignore bridge name changes by default
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'argv.go')
-rw-r--r--argv.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/argv.go b/argv.go
index 8efa4d7..530c7a0 100644
--- a/argv.go
+++ b/argv.go
@@ -13,6 +13,7 @@ var argv args
type args struct {
Xml []string `arg:"--libvirt" help:"import qemu xml files: --libvirt /etc/libvirt/qemu/*.xml"`
IgnoreCpu bool `arg:"--xml-ignore-cpu" default:"true" help:"ignore non-standard libvirt xml cpus"`
+ IgnoreBr bool `arg:"--xml-ignore-net" default:"true" help:"ignore network bridge name changes"`
Save bool `arg:"--save" default:"false" help:"save protobuf config after import"`
Config string `arg:"env:VIRTIGO_HOME" help:"defaults to ~/.config/virtigo/"`
Port int `arg:"--port" default:"8080" help:"allow droplet events via http"`