Hello.
I need set cmdline vm , Please help me
my create vm configuration, but cmd not set
Vm(
ovirtsdk4.NewVmBuilder().
Name(*name).
Console(
ovirtsdk4.NewConsoleBuilder().
Enabled(true).
MustBuild()).
Memory(ram2 * int64(1<<30)).
MemoryPolicy(
ovirtsdk4.NewMemoryPolicyBuilder().
Guaranteed(int64(ram2) * int64(1<<30)).
Max(int64(ram2) * 2 * int64(1<<30)).
Ballooning(true).
MustBuild()).
// Memory(int64(ram2) * int64(1<<30)).
Os(
ovirtsdk4.NewOperatingSystemBuilder().
CustomKernelCmdline("qemu_cmdline").Cmdline("qemu_cmdline").Boot(
ovirtsdk4.NewBootBuilder().
DevicesOfAny(
ovirtsdk4.BOOTDEVICE_NETWORK,
ovirtsdk4.BOOTDEVICE_HD).
MustBuild()).
MustBuild()).
HighAvailability(
ovirtsdk4.NewHighAvailabilityBuilder().
Enabled(true).
MustBuild()).
Cpu(
ovirtsdk4.NewCpuBuilder().
Topology(
ovirtsdk4.NewCpuTopologyBuilder().
Cores(cpu2).
Sockets(1).
MustBuild()).
MustBuild()).
Cluster(
ovirtsdk4.NewClusterBuilder().
Name(Cluster).
MustBuild()).
Template(
ovirtsdk4.NewTemplateBuilder().
Name("Blank").
MustBuild()).
MustBuild()).
Send()
_______________________________________________