<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; color: rgb(0, 0, 0); font-size: 14px; font-family: Calibri, sans-serif;">
<div>Hi there,</div>
<div><br>
</div>
<div>I am writing an ruby application for automatically deploy new virtual machines if needed.</div>
<div>We are using spacewalk in our environment for repository management, and therefore we need to add a customer uuid in each vm.conf as argument.</div>
<div>I found the possibility in the api documentation to change the args parameters by using /api2/json/nodes/{node}/qemu/{vmid}/config.</div>
<table style="border-collapse: collapse; border-spacing: 0px; box-sizing: border-box; color: rgb(0, 0, 0); font-family: tahoma, arial, verdana, sans-serif; font-size: 12px;">
<tbody style="box-sizing: border-box;">
<tr style="box-sizing: border-box;">
<td style="margin: 0px; padding: 0px; box-sizing: border-box;">But I already get an exception, that only root can change args. I don’t like to run my program with root privileges to change the config of one vm.<br>
<br>
Net::HTTPFatalError - 500 "only root can set 'args' config"<br>
<br>
Is there any possibility to change the args with an other user account?<br>
<br>
Thanks for help,<br>
<br>
Christian</td>
</tr>
</tbody>
</table>
</body>
</html>