mirror of
https://github.com/netbirdio/netbird.git
synced 2026-04-16 07:16:38 +00:00
17 lines
414 B
Go
17 lines
414 B
Go
package cmd
|
|
|
|
const (
|
|
serverVNCAllowedFlag = "allow-server-vnc"
|
|
disableVNCAuthFlag = "disable-vnc-auth"
|
|
)
|
|
|
|
var (
|
|
serverVNCAllowed bool
|
|
disableVNCAuth bool
|
|
)
|
|
|
|
func init() {
|
|
upCmd.PersistentFlags().BoolVar(&serverVNCAllowed, serverVNCAllowedFlag, false, "Allow embedded VNC server on peer")
|
|
upCmd.PersistentFlags().BoolVar(&disableVNCAuth, disableVNCAuthFlag, false, "Disable JWT authentication for VNC")
|
|
}
|