<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Location of xo-cli reference]]></title><description><![CDATA[<p dir="auto">Is there an online  reference for xo-cli with examples? I can't find it.  I know that xo-cli has help output, but it isn't detailed enough for me to understand fully how to use it.</p>
<p dir="auto">Here's my specific example:</p>
<pre><code class="language-bash">xo-cli vm.set auto_poweron=true id="f329c1f2-424e-1451-7c61-fee57273e6c4" CPUs=8 memory=17179869184 secureBoot=false
✖ invalid parameters
  property @./CPUs: must be integer
</code></pre>
<p dir="auto">After I create the VM with <code>xo-cli vm.create</code>, I am trying to set the number of CPUs to 8 and the RAM to 16GB.</p>
]]></description><link>https://xcp-ng.org/forum/topic/10757/location-of-xo-cli-reference</link><generator>RSS for Node</generator><lastBuildDate>Sat, 06 Jun 2026 19:46:16 GMT</lastBuildDate><atom:link href="https://xcp-ng.org/forum/topic/10757.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 17 Apr 2025 23:02:08 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Location of xo-cli reference on Fri, 25 Apr 2025 10:09:51 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/byte0" aria-label="Profile: Byte0">@<bdi>Byte0</bdi></a> The <code>json:</code> makes the rest of the value interpreted as JSON, otherwise it is interpreted as a plain string. It is therefore required for all non-string values.</p>
<p dir="auto">Some method params (like <code>memory</code> for <code>vm.set</code>) accept both integers and strings, that's why it was working.</p>
]]></description><link>https://xcp-ng.org/forum/post/92297</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/92297</guid><dc:creator><![CDATA[julien-f]]></dc:creator><pubDate>Fri, 25 Apr 2025 10:09:51 GMT</pubDate></item><item><title><![CDATA[Reply to Location of xo-cli reference on Fri, 25 Apr 2025 07:22:16 GMT]]></title><description><![CDATA[<p dir="auto">Pinging <a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/julien-f" aria-label="Profile: julien-f">@<bdi>julien-f</bdi></a> maybe <img src="https://xcp-ng.org/forum/assets/plugins/nodebb-plugin-emoji/emoji/android/1f604.png?v=977a46e9d9a" class="not-responsive emoji emoji-android emoji--smile" style="height:23px;width:auto;vertical-align:middle" title=":D" alt="😄" /></p>
]]></description><link>https://xcp-ng.org/forum/post/92283</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/92283</guid><dc:creator><![CDATA[olivierlambert]]></dc:creator><pubDate>Fri, 25 Apr 2025 07:22:16 GMT</pubDate></item><item><title><![CDATA[Reply to Location of xo-cli reference on Thu, 24 Apr 2025 16:40:00 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/olivierlambert" aria-label="Profile: olivierlambert">@<bdi>olivierlambert</bdi></a> I stumbled across this here while searching for something else: <a href="https://xcp-ng.org/forum/topic/3671/xo-cli-help/5">https://xcp-ng.org/forum/topic/3671/xo-cli-help/5</a></p>
<p dir="auto">I need to specify "json:8" to set the CPUs to 8. I did see the use of the "json:" prefix here (<a href="https://docs.xen-orchestra.com/architecture#xo-cli-cli" target="_blank" rel="noopener noreferrer nofollow ugc">https://docs.xen-orchestra.com/architecture#xo-cli-cli</a>), but the example shows using that prefix for a list rather than a single value. Not to mention that when setting the memory with <code>vm.set</code>, using "json:" is not required, so I didn't think to try that. I figured it out eventually though.</p>
]]></description><link>https://xcp-ng.org/forum/post/92255</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/92255</guid><dc:creator><![CDATA[Byte0]]></dc:creator><pubDate>Thu, 24 Apr 2025 16:40:00 GMT</pubDate></item><item><title><![CDATA[Reply to Location of xo-cli reference on Fri, 18 Apr 2025 07:11:37 GMT]]></title><description><![CDATA[<p dir="auto">Ping <a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/butcat" aria-label="Profile: Butcat">@<bdi>Butcat</bdi></a></p>
]]></description><link>https://xcp-ng.org/forum/post/92037</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/92037</guid><dc:creator><![CDATA[olivierlambert]]></dc:creator><pubDate>Fri, 18 Apr 2025 07:11:37 GMT</pubDate></item><item><title><![CDATA[Reply to Location of xo-cli reference on Thu, 17 Apr 2025 23:10:23 GMT]]></title><description><![CDATA[<p dir="auto">Also more details regarding how vm.createCloudInitConfigDrive works would be good.</p>
<p dir="auto">The help information from <code>xo-cli list-commands</code> has the following</p>
<p dir="auto"><em>vm.createCloudInitConfigDrive vm=&lt;string&gt; sr=&lt;string&gt; config=&lt;string&gt; [networkConfig=&lt;string&gt;]</em></p>
<p dir="auto">Is the string for config and networkConfig supposed to be the id of objects created using <code>cloudConfig.create</code>?</p>
<p dir="auto">Does the <code>template=</code> parameter for <code>cloudConfig.create</code> accept the yaml string for cloud-init?</p>
]]></description><link>https://xcp-ng.org/forum/post/92033</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/92033</guid><dc:creator><![CDATA[Byte0]]></dc:creator><pubDate>Thu, 17 Apr 2025 23:10:23 GMT</pubDate></item></channel></rss>