This commit is contained in:
dump_stack() 2021-12-20 13:42:40 +00:00
parent 5753321877
commit a3bd38c243
Signed by: dump_stack
GPG Key ID: BE44DA8C062D87DC

View File

@ -31,13 +31,12 @@ import (
kingpin "gopkg.in/alecthomas/kingpin.v2" kingpin "gopkg.in/alecthomas/kingpin.v2"
) )
type networkModel int type networkModel int
const ( const (
networkOffline networkModel = iota networkOffline networkModel = iota
networkQemu networkModel = iota networkQemu networkModel = iota
networkLibvirt networkModel = iota networkLibvirt networkModel = iota
) )
func list(l *libvirt.Libvirt) { func list(l *libvirt.Libvirt) {
@ -433,7 +432,7 @@ func parseNetworkModel(flagOffline bool, flagNetworking string) networkModel {
if flagNetworking == "qemu" { if flagNetworking == "qemu" {
return networkQemu return networkQemu
} }
return networkQemu // qemu is the default network model return networkQemu // qemu is the default network model
} }
var configDir = os.Getenv("HOME") + "/.config/appvm/" var configDir = os.Getenv("HOME") + "/.config/appvm/"