<?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[Update host name of the XO VM]]></title><description><![CDATA[<p dir="auto">Hello, everyone.</p>
<p dir="auto">I guess when I installed XO I had a different name set for the VM host and late on I changed it to something else.<br />
I am trying to get the list of available objects by running <code>xo-cli list-objects</code> I get errors returned which point to the wrong host name and DNS errors:</p>
<pre><code>✖ Error: getaddrinfo ENOTFOUND xo1.my-domain.com
    at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:120:26) {
  code: 'ENOTFOUND',
  errno: -3008,
  hostname: 'xo1.my-domain.com',
  syscall: 'getaddrinfo'
}
</code></pre>
<p dir="auto">My new host name is <a href="http://xo1-xyz.my-domain.com" target="_blank" rel="noopener noreferrer nofollow ugc">xo1-xyz.my-domain.com</a>.  What and where should I update to get the CLI working again?</p>
<p dir="auto">Thank you very much</p>
]]></description><link>https://xcp-ng.org/forum/topic/9886/update-host-name-of-the-xo-vm</link><generator>RSS for Node</generator><lastBuildDate>Wed, 12 Aug 2026 23:53:16 GMT</lastBuildDate><atom:link href="https://xcp-ng.org/forum/topic/9886.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 28 Oct 2024 09:51:22 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Update host name of the XO VM on Mon, 28 Oct 2024 11:23:20 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/danp" aria-label="Profile: Danp">@<bdi>Danp</bdi></a> Thank you, trying now.</p>
]]></description><link>https://xcp-ng.org/forum/post/84931</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/84931</guid><dc:creator><![CDATA[Ascar]]></dc:creator><pubDate>Mon, 28 Oct 2024 11:23:20 GMT</pubDate></item><item><title><![CDATA[Reply to Update host name of the XO VM on Mon, 28 Oct 2024 11:19:38 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/ascar" aria-label="Profile: Ascar">@<bdi>Ascar</bdi></a> I suspect that Olivier means to register with the XO instance using this syntax --</p>
<p dir="auto"><code>  xo-cli register [--allowUnauthorized] [--expiresIn &lt;duration&gt;] [--otp &lt;otp&gt;] &lt;XO-Server URL&gt; &lt;username&gt; [&lt;password&gt;]</code></p>
<p dir="auto">You can run <code>xo-cli</code> without any parameters to get the full usage text.</p>
]]></description><link>https://xcp-ng.org/forum/post/84929</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/84929</guid><dc:creator><![CDATA[Danp]]></dc:creator><pubDate>Mon, 28 Oct 2024 11:19:38 GMT</pubDate></item><item><title><![CDATA[Reply to Update host name of the XO VM on Mon, 28 Oct 2024 10:07:43 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> Please, how?  Not getting my head around it.  Thank you</p>
]]></description><link>https://xcp-ng.org/forum/post/84928</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/84928</guid><dc:creator><![CDATA[Ascar]]></dc:creator><pubDate>Mon, 28 Oct 2024 10:07:43 GMT</pubDate></item><item><title><![CDATA[Reply to Update host name of the XO VM on Mon, 28 Oct 2024 10:01:40 GMT]]></title><description><![CDATA[<p dir="auto">Just re-register it <img src="https://xcp-ng.org/forum/assets/plugins/nodebb-plugin-emoji/emoji/android/1f642.png?v=f084dd9e819" class="not-responsive emoji emoji-android emoji--slightly_smiling_face" style="height:23px;width:auto;vertical-align:middle" title=":)" alt="🙂" /></p>
]]></description><link>https://xcp-ng.org/forum/post/84927</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/84927</guid><dc:creator><![CDATA[olivierlambert]]></dc:creator><pubDate>Mon, 28 Oct 2024 10:01:40 GMT</pubDate></item></channel></rss>