You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: cmd/run.go
+6-3Lines changed: 6 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -23,7 +23,7 @@ type osVmConfig struct {
23
23
RemoveVmbool// Kill the running VM when it exits
24
24
RemoveDiskImagebool// After exit of the VM, remove the disk image
25
25
Quietbool
26
-
SkipTLSVerifybool
26
+
TLSVerifybool
27
27
}
28
28
29
29
var (
@@ -53,7 +53,7 @@ func init() {
53
53
runCmd.Flags().BoolVar(&vmConfig.Quiet, "quiet", false, "Suppress output from bootc disk creation and VM boot console")
54
54
runCmd.Flags().StringVar(&diskImageConfigInstance.RootSizeMax, "root-size-max", "", "Maximum size of root filesystem in bytes; optionally accepts M, G, T suffixes")
55
55
runCmd.Flags().StringVar(&diskImageConfigInstance.DiskSize, "disk-size", "", "Allocate a disk image of this size in bytes; optionally accepts M, G, T suffixes")
56
-
runCmd.Flags().BoolVar(&vmConfig.SkipTLSVerify, "insecure", false, "Skip TLS verification while pulling the image")
56
+
runCmd.Flags().BoolVar(&vmConfig.TLSVerify, "tls-verify", true, "Require HTTPS and verify certificates when accessing the registry")
0 commit comments