Skip to content

Conversation

cvhariharan
Copy link

Fixes #87

cmd/run.go Outdated
@@ -52,6 +53,7 @@ func init() {
runCmd.Flags().BoolVar(&vmConfig.Quiet, "quiet", false, "Suppress output from bootc disk creation and VM boot console")
runCmd.Flags().StringVar(&diskImageConfigInstance.RootSizeMax, "root-size-max", "", "Maximum size of root filesystem in bytes; optionally accepts M, G, T suffixes")
runCmd.Flags().StringVar(&diskImageConfigInstance.DiskSize, "disk-size", "", "Allocate a disk image of this size in bytes; optionally accepts M, G, T suffixes")
runCmd.Flags().BoolVar(&vmConfig.SkipTLSVerify, "insecure", false, "Skip TLS verification while pulling the image")
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just to be coherent with podman, I think it's better to use the same options: —tls-verify=false|true

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yep, makes sense. Changed to --tls-verify

@germag
Copy link
Collaborator

germag commented Feb 18, 2025

Hi, thanks for doing this

As a general rule we want a descriptive commit message, also it's required the signed-of-by

@cvhariharan
Copy link
Author

Closed this and created a new PR with cleaned up commits.
#91

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Allow image pulls from self-signed registries
2 participants