@@ -128,12 +128,12 @@ var generateFlags = []cli.Flag{
128
128
cli.StringFlag {Name : "solaris-max-shm-memory" , Usage : "Specifies the maximum amount of shared memory" },
129
129
cli.StringFlag {Name : "solaris-milestone" , Usage : "Specifies the SMF FMRI" },
130
130
cli.StringFlag {Name : "template" , Usage : "base template to use for creating the configuration" },
131
- cli.StringFlag {Name : "vm-hypervisor-parameters" , Usage : "specifies an array of parameters to pass to the hypervisor" },
131
+ cli.StringSliceFlag {Name : "vm-hypervisor-parameters" , Usage : "specifies an array of parameters to pass to the hypervisor" },
132
132
cli.StringFlag {Name : "vm-hypervisor-path" , Usage : "specifies the path to the hypervisor binary that manages the container virtual machine" },
133
133
cli.StringFlag {Name : "vm-image-format" , Usage : "set the format of the container virtual machine root image" },
134
134
cli.StringFlag {Name : "vm-image-path" , Usage : "set path to the container virtual machine root image" },
135
135
cli.StringFlag {Name : "vm-kernel-initrd" , Usage : "set path to an initial ramdisk to be used by the container virtual machine" },
136
- cli.StringFlag {Name : "vm-kernel-parameters" , Usage : "specifies an array of parameters to pass to the kernel" },
136
+ cli.StringSliceFlag {Name : "vm-kernel-parameters" , Usage : "specifies an array of parameters to pass to the kernel" },
137
137
cli.StringFlag {Name : "vm-kernel-path" , Usage : "set path to the kernel used to boot the container virtual machine" },
138
138
cli.StringSliceFlag {Name : "windows-devices" , Usage : "specifies a list of devices to be mapped into the container" },
139
139
cli.StringFlag {Name : "windows-hyperv-utilityVMPath" , Usage : "specifies the path to the image used for the utility VM" },
@@ -899,7 +899,7 @@ func setupSpec(g *generate.Generator, context *cli.Context) error {
899
899
}
900
900
901
901
if context .IsSet ("vm-hypervisor-parameters" ) {
902
- g .SetVMHypervisorParameters (context .String ("vm-hypervisor-parameters" ))
902
+ g .SetVMHypervisorParameters (context .StringSlice ("vm-hypervisor-parameters" ))
903
903
}
904
904
905
905
if context .IsSet ("vm-kernel-path" ) {
@@ -909,7 +909,7 @@ func setupSpec(g *generate.Generator, context *cli.Context) error {
909
909
}
910
910
911
911
if context .IsSet ("vm-kernel-parameters" ) {
912
- g .SetVMKernelParameters (context .String ("vm-kernel-parameters" ))
912
+ g .SetVMKernelParameters (context .StringSlice ("vm-kernel-parameters" ))
913
913
}
914
914
915
915
if context .IsSet ("vm-kernel-initrd" ) {
0 commit comments