method => 'POST',
protected => 1,
proxyto => 'node',
- description => "Stop virtual machine. The qemu process will exit immediately. This" .
- "is akin to pulling the power plug of a running computer and may damage the VM data",
+ description => "Stop virtual machine. The qemu process will exit immediately. This"
+ ." is akin to pulling the power plug of a running computer and may damage the VM data.",
permissions => {
check => ['perm', '/vms/{vmid}', [ 'VM.PowerMgmt' ]],
},
method => 'POST',
protected => 1,
proxyto => 'node',
- description => "Shutdown virtual machine. This is similar to pressing the power button on a physical machine." .
- "This will send an ACPI event for the guest OS, which should then proceed to a clean shutdown.",
+ description => "Shutdown virtual machine. This is similar to pressing the power button on a"
+ ." physical machine. This will send an ACPI event for the guest OS, which should then"
+ ." proceed to a clean shutdown.",
permissions => {
check => ['perm', '/vms/{vmid}', [ 'VM.PowerMgmt' ]],
},