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
cmd.Flags().StringVar(&createInput.Host, "host", "", "the flintlock host to create the microvm on")
53
+
cmd.Flags().StringVar(&createInput.Name, "name", "", "the name of the microvm, cannot be specified if using name-autogenerate")
54
+
cmd.Flags().BoolVar(&createInput.NameAutogenerate, "name-autogenerate", false, "if true a name is autogenerated for the microvm")
55
+
cmd.Flags().StringVar(&createInput.Namespace, "namespace", defaultNamespace, "the namespace for the microvm")
56
+
cmd.Flags().IntVar(&createInput.VCPU, "vcpu", defaultVCPU, "the number of vcpus")
57
+
cmd.Flags().IntVar(&createInput.MemoryInMb, "memory", defaultMemoryMb, "the memory in mb")
58
+
cmd.Flags().StringVar(&createInput.KernelImage, "kernel-image", defaultKernelImage, "the image to use for the kernel")
59
+
cmd.Flags().BoolVar(&createInput.KernelAddNetConf, "add-netconf", true, "automatically add network configuration to the kernel cmd line")
60
+
cmd.Flags().StringVar(&createInput.KernelFileName, "kernel-filename", defaultKernelFile, "name of the kernel file in the image")
61
+
cmd.Flags().StringVar(&createInput.RootImage, "root-image", defaultRootImage, "the image to use for the root volume")
62
+
cmd.Flags().StringVar(&createInput.InitrdImage, "initrd-image", "", "the image to use for the initial ramdisk")
63
+
cmd.Flags().StringVar(&createInput.InitrdFilename, "initrd-filename", "", "name of the file in the image to use for the initial ramdisk")
64
+
cmd.Flags().StringSliceVar(&createInput.NetworkInterfaces, "network-interface", []string{}, "specify the network interfaces to attach. In the following format: name:type:[macaddress]:[ipaddress]")
65
+
cmd.Flags().StringSliceVar(&createInput.MetadataFromFile, "metadata-from-file", []string{}, "specify metadata to be available to your microvm. In the following format key=pathtofile")
66
+
cmd.Flags().StringVar(&createInput.Metadata.Hostname, "metadata-hostname", "", "the hostname of the the microvm")
67
+
cmd.Flags().StringVar(&createInput.Metadata.SSHKeyFile, "metadata-ssh-key-file", "", "an ssh key to use")
68
+
cmd.Flags().StringSliceVar(&createInput.Metadata.SshImportIds, "metadata-ssh-import-id", []string{}, "ssh keys to import. The keyserver can be specified by prepending either lp: for Launchpad or gh: for GitHub to the username.")
69
+
cmd.Flags().BoolVar(&createInput.Metadata.ResolvdFix, "metadata-resolvd-fix", true, "include a systemd-resolvd fix for container root volumes")
70
+
cmd.Flags().StringVar(&createInput.Metadata.Message, "metadata-final-message", "", "set the cloud-init final message")
71
+
cmd.Flags().StringSliceVar(&createInput.AdditionalContainerVolumes, "container-volume", []string{}, "attach additional volumes using a container image, The following format: name=containerimage=mountpoint")
72
+
cmd.Flags().StringVar(&createInput.AdditionalVirtioFSVolume, "virtiofs-volume", "", "attach an additional volume using virtiofs, use the following format: name=localpath=mountpoint")
0 commit comments