<?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[XO templates cd image problem]]></title><description><![CDATA[<p dir="auto">Hi all,<br />
I am having issues with cd images attaching to the template created.<br />
I need this for the cloud-init configuration.<br />
There are 2 ways I try to accomplish that on freshly created Debian 10 template with cloud-init packages installed:</p>
<ol>
<li>
<p dir="auto">I create new vm in XO and boot it. I stop it on grub level, then I attach my cd image with cloud-init user, meta and network data in XO, continue with the boot - cloud-init works as expected.</p>
</li>
<li>
<p dir="auto">I create vm in CLI:</p>
</li>
</ol>
<pre><code>xe vm-install new-name-label=&lt;vm_name&gt; template=Debian10_cloud-init_template
xe vm-cd-add vm=Debian10_cloud-init_template cd-name=nciso11.iso device=4
xe vm-start vm=Debian10_cloud-init_template
</code></pre>
<p dir="auto">and cloud-init does not work, cd is not moutable as it says that there is noting to mount.</p>
<p dir="auto">Only difference I see is that when I create VM in XO I got two cd devices:</p>
<pre><code>CD 0 VBD:
uuid ( RO)             : 7663f608-efdd-38e0-581a-87d2a21da3fc
    vm-name-label ( RO): Debian_10_cloud_init_template
            empty ( RO): false
       userdevice ( RW): 3

CD 0 VDI:
uuid ( RO)             : 105c96fb-0d1f-4df3-bf6e-e8edf51ee78a
       name-label ( RW): nciso11.iso
    sr-name-label ( RO): ISO's
     virtual-size ( RO): 376832
</code></pre>
<p dir="auto">When I create it in CLI I have 3 fore some reason:</p>
<pre><code>CD 0 VBD:
uuid ( RO)             : 3f18cca9-2630-0e2f-d146-ddd1f716ea65
    vm-name-label ( RO): Debian_10_cloud_init_template
            empty ( RO): false
       userdevice ( RW): 4


CD 0 VDI:
uuid ( RO)             : 105c96fb-0d1f-4df3-bf6e-e8edf51ee78a
       name-label ( RW): nciso11.iso
    sr-name-label ( RO): ISO's
     virtual-size ( RO): 376832


CD 1 VBD:
uuid ( RO)             : d28e5090-4e2c-cbaf-fbab-4ccbdd54c3ca
    vm-name-label ( RO): Debian_10_cloud_init_template
            empty ( RO): true
       userdevice ( RW): 3
</code></pre>
<p dir="auto">... and then coud-init does not work as cd is not mountable - no media (???).</p>
<p dir="auto">Could someone explain to me why CLI creates additional and <strong>empty</strong> CD? Thanks!</p>
]]></description><link>https://xcp-ng.org/forum/topic/3694/xo-templates-cd-image-problem</link><generator>RSS for Node</generator><lastBuildDate>Thu, 15 Oct 2026 20:46:49 GMT</lastBuildDate><atom:link href="https://xcp-ng.org/forum/topic/3694.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 12 Oct 2020 22:51:28 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to XO templates cd image problem on Fri, 16 Oct 2020 23:08:06 GMT]]></title><description><![CDATA[<p dir="auto">This is a great news as I will be able to have all my scripts written as of now and xo-cli in one place.<br />
Thanks <a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/olivierlambert" aria-label="Profile: olivierlambert">@<bdi>olivierlambert</bdi></a></p>
<p dir="auto">For those who are looking for direct instructions ... on Debian 10.x:</p>
<p dir="auto"># install npm:</p>
<pre><code>apt install npm
</code></pre>
<p dir="auto"># install xo-cli:</p>
<pre><code>npm install -g xo-cli
</code></pre>
]]></description><link>https://xcp-ng.org/forum/post/32481</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/32481</guid><dc:creator><![CDATA[mietek]]></dc:creator><pubDate>Fri, 16 Oct 2020 23:08:06 GMT</pubDate></item><item><title><![CDATA[Reply to XO templates cd image problem on Thu, 15 Oct 2020 07:12:18 GMT]]></title><description><![CDATA[<p dir="auto">You can install <code>xo-cli</code> anywhere you like. It's a client to <code>xo-server</code>, like <code>xo-web</code> <img src="https://xcp-ng.org/forum/assets/plugins/nodebb-plugin-emoji/emoji/android/1f642.png?v=041a08e19dc" class="not-responsive emoji emoji-android emoji--slightly_smiling_face" style="height:1.4em;width:auto;vertical-align:middle" title=":)" alt="🙂" /></p>
<p dir="auto">See:</p>
<p dir="auto"><img src="https://xen-orchestra.com/docs/assets/img/xo-arch.94e9d75a.jpg" alt="" class="img-markdown  img-fluid" /></p>
]]></description><link>https://xcp-ng.org/forum/post/32398</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/32398</guid><dc:creator><![CDATA[olivierlambert]]></dc:creator><pubDate>Thu, 15 Oct 2020 07:12:18 GMT</pubDate></item><item><title><![CDATA[Reply to XO templates cd image problem on Wed, 14 Oct 2020 16:48:11 GMT]]></title><description><![CDATA[<p dir="auto">following this xo-cli thread though - is there a possibility to install xo-cli on the server which is not a xen server? Or it has to be the one and even more - the one with xen-orchestra?</p>
]]></description><link>https://xcp-ng.org/forum/post/32386</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/32386</guid><dc:creator><![CDATA[mietek]]></dc:creator><pubDate>Wed, 14 Oct 2020 16:48:11 GMT</pubDate></item><item><title><![CDATA[Reply to XO templates cd image problem on Wed, 14 Oct 2020 07:50:37 GMT]]></title><description><![CDATA[<p dir="auto">Ah yes, I forgot that, since I'm not using <code>xe</code> for those commands (but XO or <code>xo-cli</code>) <img src="https://xcp-ng.org/forum/assets/plugins/nodebb-plugin-emoji/emoji/android/1f642.png?v=041a08e19dc" class="not-responsive emoji emoji-android emoji--slightly_smiling_face" style="height:1.4em;width:auto;vertical-align:middle" title=":)" alt="🙂" /></p>
<p dir="auto">Good news anyway!</p>
]]></description><link>https://xcp-ng.org/forum/post/32368</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/32368</guid><dc:creator><![CDATA[olivierlambert]]></dc:creator><pubDate>Wed, 14 Oct 2020 07:50:37 GMT</pubDate></item><item><title><![CDATA[Reply to XO templates cd image problem on Tue, 13 Oct 2020 22:30:55 GMT]]></title><description><![CDATA[<p dir="auto">OK - found the problem.<br />
I do not need to add CD I need to insert it.</p>
<pre><code>xe vm-cd-insert vm=&lt;name_of_your_vm&gt; cd-name=&lt;name_of_your_file.iso&gt;
</code></pre>
<p dir="auto">If xe will say that there is no empty cdrom - eject inserted media:</p>
<pre><code>xe vm-cd-eject vm=&lt;name_of_your_vm&gt;
</code></pre>
<p dir="auto">and then insert it ...</p>
]]></description><link>https://xcp-ng.org/forum/post/32362</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/32362</guid><dc:creator><![CDATA[mietek]]></dc:creator><pubDate>Tue, 13 Oct 2020 22:30:55 GMT</pubDate></item><item><title><![CDATA[Reply to XO templates cd image problem on Tue, 13 Oct 2020 18:45:17 GMT]]></title><description><![CDATA[<p dir="auto">Thanks <a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/olivierlambert" aria-label="Profile: olivierlambert">@<bdi>olivierlambert</bdi></a> - I will try that just to compare maybe it will give me results I need.</p>
]]></description><link>https://xcp-ng.org/forum/post/32348</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/32348</guid><dc:creator><![CDATA[mietek]]></dc:creator><pubDate>Tue, 13 Oct 2020 18:45:17 GMT</pubDate></item><item><title><![CDATA[Reply to XO templates cd image problem on Tue, 13 Oct 2020 07:13:47 GMT]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">I personally recommend that you use <code>xo-cli</code> (CLI of Xen Orchestra), that would be better in the end <img src="https://xcp-ng.org/forum/assets/plugins/nodebb-plugin-emoji/emoji/android/1f642.png?v=041a08e19dc" class="not-responsive emoji emoji-android emoji--slightly_smiling_face" style="height:1.4em;width:auto;vertical-align:middle" title=":)" alt="🙂" /> (one central point, no need to access the host, only XO).</p>
]]></description><link>https://xcp-ng.org/forum/post/32325</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/32325</guid><dc:creator><![CDATA[olivierlambert]]></dc:creator><pubDate>Tue, 13 Oct 2020 07:13:47 GMT</pubDate></item></channel></rss>