<?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[Self service systems - how to build templates?]]></title><description><![CDATA[<p dir="auto">Hey there,</p>
<p dir="auto">I've recently started looking into xen orchestra+xcp-ng as a self service vm portal for users to provision their own Windows and Linux vms. One thing I'm missing though is a good primer on what's required to make those base templates and in the case of windows do an active directory domain join.</p>
<p dir="auto">With VMware I'm used to making templates from code with packer, and then the vm cloned from the template is customised with some ansible scripts.</p>
<p dir="auto">I'm having a bit of a hard time find some good end to end references on how to do this in xcp-ng. Any links with reading material or general advice from people who have already achieved this would be appreciated.</p>
<p dir="auto">Thanks!</p>
]]></description><link>https://xcp-ng.org/forum/topic/5651/self-service-systems-how-to-build-templates</link><generator>RSS for Node</generator><lastBuildDate>Sat, 18 Apr 2026 16:58:46 GMT</lastBuildDate><atom:link href="https://xcp-ng.org/forum/topic/5651.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 08 Mar 2022 12:18:02 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Self service systems - how to build templates? on Mon, 28 Nov 2022 20:43:29 GMT]]></title><description><![CDATA[<p dir="auto">I would like some examples too.</p>
<p dir="auto">My latest (first) try gives me:</p>
<pre><code>alfcruz-adm@local.hcpa.ufrgs.br@volt-ampere:~/packer-plugin-xenserver$ packer build ./ubuntu-2004.pkr.hcl
xenserver-iso.ubuntu-2004: output will be in this color.

Build 'xenserver-iso.ubuntu-2004' errored after 8 seconds 155 milliseconds: API Error: SESSION_AUTHENTICATION_FAILED root Authentication failure

==&gt; Wait completed after 8 seconds 155 milliseconds

==&gt; Some builds didn't complete successfully and had errors:
--&gt; xenserver-iso.ubuntu-2004: API Error: SESSION_AUTHENTICATION_FAILED root Authentication failure

==&gt; Builds finished but no artifacts were created.
alfcruz-adm@local.hcpa.ufrgs.br@volt-ampere:~/packer-plugin-xenserver$
</code></pre>
<p dir="auto">Using root user. This user/pass works over SSH.</p>
]]></description><link>https://xcp-ng.org/forum/post/55531</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/55531</guid><dc:creator><![CDATA[antoniolfdacruz]]></dc:creator><pubDate>Mon, 28 Nov 2022 20:43:29 GMT</pubDate></item><item><title><![CDATA[Reply to Self service systems - how to build templates? on Sat, 19 Nov 2022 16:03:48 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/ruskofd" aria-label="Profile: ruskofd">@<bdi>ruskofd</bdi></a> have you removed this examples? i got 404.</p>
]]></description><link>https://xcp-ng.org/forum/post/55161</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/55161</guid><dc:creator><![CDATA[dydomby]]></dc:creator><pubDate>Sat, 19 Nov 2022 16:03:48 GMT</pubDate></item><item><title><![CDATA[Reply to Self service systems - how to build templates? on Wed, 09 Mar 2022 16:53:55 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>   Done <img src="https://xcp-ng.org/forum/assets/plugins/nodebb-plugin-emoji/emoji/android/2705.png?v=a78c449d9ac" class="not-responsive emoji emoji-android emoji--white_check_mark" style="height:23px;width:auto;vertical-align:middle" title=":white_check_mark:" alt="✅" /></p>
]]></description><link>https://xcp-ng.org/forum/post/47556</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/47556</guid><dc:creator><![CDATA[marcungeschikts]]></dc:creator><pubDate>Wed, 09 Mar 2022 16:53:55 GMT</pubDate></item><item><title><![CDATA[Reply to Self service systems - how to build templates? on Wed, 09 Mar 2022 09:05:22 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/marcungeschikts" aria-label="Profile: marcungeschikts">@<bdi>marcungeschikts</bdi></a> we probably need a card in our backlog to find resources to move Packer using XO API <img src="https://xcp-ng.org/forum/assets/plugins/nodebb-plugin-emoji/emoji/android/1f642.png?v=a78c449d9ac" 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/47537</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/47537</guid><dc:creator><![CDATA[olivierlambert]]></dc:creator><pubDate>Wed, 09 Mar 2022 09:05:22 GMT</pubDate></item><item><title><![CDATA[Reply to Self service systems - how to build templates? on Wed, 09 Mar 2022 09:03:58 GMT]]></title><description><![CDATA[<p dir="auto">And thanks <a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/ruskofd" aria-label="Profile: ruskofd">@<bdi>ruskofd</bdi></a> for the examples!</p>
]]></description><link>https://xcp-ng.org/forum/post/47536</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/47536</guid><dc:creator><![CDATA[olivierlambert]]></dc:creator><pubDate>Wed, 09 Mar 2022 09:03:58 GMT</pubDate></item><item><title><![CDATA[Reply to Self service systems - how to build templates? on Wed, 09 Mar 2022 09:03:40 GMT]]></title><description><![CDATA[<p dir="auto">We'd love to have a packer plugin for XO to be even more flexible (allow building templates across multiple pools at the same time). But we lack the resources to do it now <img src="https://xcp-ng.org/forum/assets/plugins/nodebb-plugin-emoji/emoji/android/1f61e.png?v=a78c449d9ac" class="not-responsive emoji emoji-android emoji--disappointed" style="height:23px;width:auto;vertical-align:middle" title=":(" alt="😞" /></p>
]]></description><link>https://xcp-ng.org/forum/post/47535</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/47535</guid><dc:creator><![CDATA[olivierlambert]]></dc:creator><pubDate>Wed, 09 Mar 2022 09:03:40 GMT</pubDate></item><item><title><![CDATA[Reply to Self service systems - how to build templates? on Tue, 08 Mar 2022 19:24:37 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/ruskofd" aria-label="Profile: ruskofd">@<bdi>ruskofd</bdi></a> Awesome, thank you!</p>
]]></description><link>https://xcp-ng.org/forum/post/47525</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/47525</guid><dc:creator><![CDATA[davx8342]]></dc:creator><pubDate>Tue, 08 Mar 2022 19:24:37 GMT</pubDate></item><item><title><![CDATA[Reply to Self service systems - how to build templates? on Tue, 08 Mar 2022 18:17:26 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/davx8342" aria-label="Profile: davx8342">@<bdi>davx8342</bdi></a> There is a Packer plugin for XCP-ng : <a href="https://github.com/ddelnano/packer-plugin-xenserver" target="_blank" rel="noopener noreferrer nofollow ugc">https://github.com/ddelnano/packer-plugin-xenserver</a></p>
<p dir="auto">I use it in my homelab, I have some manifests in public on my GitHub profile if you want some examples : <a href="https://github.com/ruskofd/xcp-ng-images" target="_blank" rel="noopener noreferrer nofollow ugc">https://github.com/ruskofd/xcp-ng-images</a></p>
]]></description><link>https://xcp-ng.org/forum/post/47522</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/47522</guid><dc:creator><![CDATA[ruskofd]]></dc:creator><pubDate>Tue, 08 Mar 2022 18:17:26 GMT</pubDate></item></channel></rss>