<?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[Packer Created VMs Failing to Boot]]></title><description><![CDATA[<p dir="auto">When creating a Windows VM with Packer using UEFI boot firmware, the VM is failing to boot around 88% with no errors logged in XOA.</p>
<p dir="auto">I am using the following Packer plugin:<br />
<a href="https://github.com/ddelnano/packer-plugin-xenserver/tree/main" target="_blank" rel="noopener noreferrer nofollow ugc">https://github.com/ddelnano/packer-plugin-xenserver/tree/main</a></p>
<p dir="auto">Things tested/checked so far:</p>
<ol>
<li>If the VM is switched from UEFI to BIOS it boots but then fails to boot if switched back to UEFI.</li>
<li>If a VM is manually created in XOA from the same template it boots with no issue</li>
<li>If the firmware="uefi"  option is removed from Packer, the VM defaults to BIOS and boots fine. However, if the VM is switched to UEFI it fails to boot</li>
<li>Using Packer to create a UEFI CentOS VM works as expected</li>
<li>Re-created the cloned Windows template and issue persists</li>
</ol>
<p dir="auto">I checked the output of xe vm-list with all params, and the only major differences I noticed are:</p>
<p dir="auto">Packer created VM:</p>
<pre><code>platform (MRW): timeoffset: 0; device-model: qemu-upstream-uefi; viridian: true

other-config (MRW): xo:03af740a: {"creation":{"date":"2023-11-06T20:16:30.631Z","template":"1c33af1c-e919-418c-ad45-85d7d6fb604a","user":"f8241546-6b58-484e-92d0-58817ea45b3f"}}; base_template_name: Windows Server 2022 (64-bit); import_task: OpaqueRef:55b37ba3-84a2-47ac-b8a6-41fb63a69ebc; mac_seed: ceaf53ff-f229-63d2-b586-5cb5aaea6686; install-methods: cdrom
</code></pre>
<p dir="auto">XOA created VM:</p>
<pre><code>platform (MRW): secureboot: false; device-model: qemu-upstream-uefi; timeoffset: 0; videoram: 8; hpet: true; viridian_apic_assist: true; apic: true; device_id: 0002; cores-per-socket: 2; viridian_crash_ctl: true; pae: true; vga: std; nx: true; viridian_time_ref_count: true; viridian_stimer: true; viridian: true; acpi: 1; viridian_reference_tsc: true

other-config (MRW): xo:17504efc: {"creation":{"date":"2023-11-06T21:03:58.450Z","template":"03af740a-ca0d-4246-e64d-bab99b90f682","user":"f8241546-6b58-484e-92d0-58817ea45b3f"}}; xo:03af740a: {"creation":{"date":"2023-11-06T20:16:30.631Z","template":"1c33af1c-e919-418c-ad45-85d7d6fb604a","user":"f8241546-6b58-484e-92d0-58817ea45b3f"}}; base_template_name: Windows Server 2022 (64-bit); import_task: OpaqueRef:55b37ba3-84a2-47ac-b8a6-41fb63a69ebc; mac_seed: f5d234ad-6d5c-012b-a2f7-2c2ee9a61cca; install-methods: cdrom
</code></pre>
]]></description><link>https://xcp-ng.org/forum/topic/7936/packer-created-vms-failing-to-boot</link><generator>RSS for Node</generator><lastBuildDate>Sun, 11 Oct 2026 21:17:07 GMT</lastBuildDate><atom:link href="https://xcp-ng.org/forum/topic/7936.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 07 Nov 2023 15:04:47 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Packer Created VMs Failing to Boot on Wed, 07 Aug 2024 10:30:11 GMT]]></title><description><![CDATA[<p dir="auto">Edit: Just had a thought, no idea if it's another potential workaround. In the builder you specify a template to clone that is used to create the VM. I'm on Xenserver 8, and there is no way through the GUI, but I think it might be possible to add an extra DVD-drive to a template? If that gets brought over to the packer vm, then that might be an option. Might need to do an eject from within the vm in order to dismount the dvd in order to not have it be part of the artifact though.</p>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/olivierlambert" aria-label="Profile: olivierlambert">@<bdi>olivierlambert</bdi></a> Sounds like the best way forward would be to add the equivalent of the Hyper-V builder's secondary_iso that mounts a second iso-file, or even better cd_files which creates a temporary iso for you and mounts it.</p>
<p dir="auto">For anyone who wants to test building eufi machines until this is solved, I have a Powershell script that takes a Windows ISO and generates a new one with files added (in my case autounattend.xml, bootstrap.ps1 and the management agent msi. Though I should change it to just download the msi instead to avoid rebuilding it.)</p>
<p dir="auto">Since I was building a new ISO anyway, I also changed the boot loader to the noprompt one in order to avoid the timing issues with boot_commands and "Press any key to boot from DVD...."</p>
<p dir="auto">The script uses oscdimg.exe that's included in the Windows ADK, which can be found here:<br />
<a href="https://learn.microsoft.com/en-us/windows-hardware/get-started/adk-install" target="_blank" rel="noopener noreferrer nofollow ugc">https://learn.microsoft.com/en-us/windows-hardware/get-started/adk-install</a></p>
<pre><code># Settings
$Architecture    = "amd64" # Or x86
$InputISOfile    = "D:\Deploy\ISO\Windows Server 2022 Eval.iso"
$OutputISOfile   = "D:\Deploy\ISO\Windows Server 2022 Eval XenServer.iso"
$TempFolder      = "E:\Temp\Win2022XenServer"
$AdditionalFiles = @(
	"C:\files\Autounattend.xml",
	"C:\files\bootstrap.ps1",
	"C:\\managementagentx64.msi"
)

$OSCDIMG_Path = "C:\Program Files (x86)\Windows Kits\10\Assessment and Deployment Kit\Deployment Tools" + "\$Architecture\Oscdimg"

# Check environment
If (!(Test-path $InputISOfile)){ Write-Warning "Input ISO file not found. Exiting";Break}
If (!(Test-path $OSCDIMG_Path)){ Write-Warning "OSCDIMG Path not found. Exiting";Break}
if((Test-Path $TempFolder)){ Write-Warning "Temp folder $TempFolder exists. Exiting.";Break}
foreach($file in $AdditionalFiles) {
	if(!(Test-Path $$file)){ Write-Warning "Additional file $file does not exists. Exiting.";Break}
}

# Mount the original Windows ISO and figure out the drive-letter
Mount-DiskImage -ImagePath $InputISOfile
$ISOImage = Get-DiskImage -ImagePath $InputISOfile | Get-Volume
$ISODrive = [string]$ISOImage.DriveLetter+":"

# Copy ISO contents to temp dir and add additional files
New-Item -Path $TempFolder -ItemType Directory -Force
Copy-Item "$ISODrive\*" $TempFolder -Recurse
if(($AdditionalFiles) -and $AdditionalFiles.Length -gt 0) {
	Copy-Item $AdditionalFiles $TempFolder
}

# Dismount the Original ISO
Dismount-DiskImage -ImagePath $InputISOfile

# Create a new bootable Windows ISO file, based on the Original ISO, but using efisys_noprompt.bin instead
$BootData='2#p0,e,b"{0}"#pEF,e,b"{1}"' -f "$TempFolder\boot\etfsboot.com","$TempFolder\efi\microsoft\boot\efisys_noprompt.bin"
  
$Proc = Start-Process -FilePath "$OSCDIMG_Path\oscdimg.exe" -ArgumentList @("-m","-o","-bootdata:$BootData",'-u2','-udfver102',"$TempFolder\","`"$OutputISOfile`"") -PassThru -Wait -NoNewWindow
if($Proc.ExitCode -ne 0)
{
    Throw "Failed to generate ISO with exitcode: $($Proc.ExitCode)"
}
Get-FileHash -Path $OutputISOfile -Algorithm SHA256
Remove-Item $TempFolder -recurse -force
</code></pre>
]]></description><link>https://xcp-ng.org/forum/post/81309</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/81309</guid><dc:creator><![CDATA[mikand]]></dc:creator><pubDate>Wed, 07 Aug 2024 10:30:11 GMT</pubDate></item><item><title><![CDATA[Reply to Packer Created VMs Failing to Boot on Tue, 16 Jul 2024 06:50:08 GMT]]></title><description><![CDATA[<p dir="auto">Maybe <a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/ataxyanetwork" aria-label="Profile: AtaxyaNetwork">@<bdi>AtaxyaNetwork</bdi></a> has a clue, otherwise it will have to wait for William arrival in the next weeks <img src="https://xcp-ng.org/forum/assets/plugins/nodebb-plugin-emoji/emoji/android/1f642.png?v=1d3f495298e" 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"><a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/ddelnano" aria-label="Profile: ddelnano">@<bdi>ddelnano</bdi></a> is probably ultra busy now</p>
]]></description><link>https://xcp-ng.org/forum/post/80237</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/80237</guid><dc:creator><![CDATA[olivierlambert]]></dc:creator><pubDate>Tue, 16 Jul 2024 06:50:08 GMT</pubDate></item><item><title><![CDATA[Reply to Packer Created VMs Failing to Boot on Mon, 15 Jul 2024 18:33:59 GMT]]></title><description><![CDATA[<p dir="auto">Any updates on this uefi issue?</p>
]]></description><link>https://xcp-ng.org/forum/post/80230</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/80230</guid><dc:creator><![CDATA[fatek]]></dc:creator><pubDate>Mon, 15 Jul 2024 18:33:59 GMT</pubDate></item><item><title><![CDATA[Reply to Packer Created VMs Failing to Boot on Mon, 01 Jul 2024 20:29:51 GMT]]></title><description><![CDATA[<p dir="auto">I don't know because I didn't have time to take a deeper look <img src="https://xcp-ng.org/forum/assets/plugins/nodebb-plugin-emoji/emoji/android/1f642.png?v=1d3f495298e" class="not-responsive emoji emoji-android emoji--slightly_smiling_face" style="height:1.4em;width:auto;vertical-align:middle" title=":)" alt="🙂" /></p>
]]></description><link>https://xcp-ng.org/forum/post/79550</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/79550</guid><dc:creator><![CDATA[olivierlambert]]></dc:creator><pubDate>Mon, 01 Jul 2024 20:29:51 GMT</pubDate></item><item><title><![CDATA[Reply to Packer Created VMs Failing to Boot on Mon, 01 Jul 2024 19:14:25 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/mtcoffee" aria-label="Profile: mtcoffee">@<bdi>mtcoffee</bdi></a> said in <a href="/forum/post/79402">Packer Created VMs Failing to Boot</a>:</p>
<blockquote>
<p dir="auto">Not sure if this is best solved at the Packer level or if it should be intercepted and corrected XCP-ng level?</p>
</blockquote>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/olivierlambert" aria-label="Profile: olivierlambert">@<bdi>olivierlambert</bdi></a> Just curious if this is more of a Packer issue or does the solution have to come from the Vates side?</p>
]]></description><link>https://xcp-ng.org/forum/post/79539</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/79539</guid><dc:creator><![CDATA[fatek]]></dc:creator><pubDate>Mon, 01 Jul 2024 19:14:25 GMT</pubDate></item><item><title><![CDATA[Reply to Packer Created VMs Failing to Boot on Fri, 28 Jun 2024 21:17:28 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/fatek" aria-label="Profile: fatek">@<bdi>fatek</bdi></a> said in <a href="/forum/post/79422">Packer Created VMs Failing to Boot</a>:</p>
<blockquote>
<p dir="auto">they offer VMware type/like value</p>
</blockquote>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/olivierlambert" aria-label="Profile: olivierlambert">@<bdi>olivierlambert</bdi></a> Yes, I am aware &amp; not suggesting you spend money like a drunk sailor!<br />
That is why I said "vmware <strong>like</strong> value"</p>
]]></description><link>https://xcp-ng.org/forum/post/79446</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/79446</guid><dc:creator><![CDATA[fatek]]></dc:creator><pubDate>Fri, 28 Jun 2024 21:17:28 GMT</pubDate></item><item><title><![CDATA[Reply to Packer Created VMs Failing to Boot on Fri, 28 Jun 2024 21:13:00 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/fatek" aria-label="Profile: fatek">@<bdi>fatek</bdi></a> To be clear, absolutely nobody on the market has an equivalent to VMware. Nobody. We never told we could replace entirely all the VMware product.</p>
<p dir="auto">Obviously, we'd like to close the gap as fast as possible, but the fact Vates is entirely privately bootstrapped and privately owned means we cannot burn VC's money at the pace of Nutanix for example.</p>
]]></description><link>https://xcp-ng.org/forum/post/79444</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/79444</guid><dc:creator><![CDATA[olivierlambert]]></dc:creator><pubDate>Fri, 28 Jun 2024 21:13:00 GMT</pubDate></item><item><title><![CDATA[Reply to Packer Created VMs Failing to Boot on Fri, 28 Jun 2024 21:05:42 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/mtcoffee" aria-label="Profile: mtcoffee">@<bdi>mtcoffee</bdi></a> It seems like getting Packer involved would be the way to go but I have zero idea on what is involved.</p>
<p dir="auto">Looking at vSphere ISO docs, there is the option to create cdrom configs and also another option to use <code>cd_files</code>  (list of files to place on to a CD that is attached when the VM is booted).</p>
<p dir="auto">I don't see that option in the XenServer-iso docs.</p>
]]></description><link>https://xcp-ng.org/forum/post/79440</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/79440</guid><dc:creator><![CDATA[fatek]]></dc:creator><pubDate>Fri, 28 Jun 2024 21:05:42 GMT</pubDate></item><item><title><![CDATA[Reply to Packer Created VMs Failing to Boot on Fri, 28 Jun 2024 18:00:26 GMT]]></title><description><![CDATA[<p dir="auto">I hear you regarding "managing expectations".</p>
<p dir="auto">If Vates (as a company) is going to claim they offer VMware type/like value then Windows can not be a 2nd class citizen in your ecosystem!</p>
]]></description><link>https://xcp-ng.org/forum/post/79422</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/79422</guid><dc:creator><![CDATA[fatek]]></dc:creator><pubDate>Fri, 28 Jun 2024 18:00:26 GMT</pubDate></item><item><title><![CDATA[Reply to Packer Created VMs Failing to Boot on Fri, 28 Jun 2024 13:13:38 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> is spot on. Manage expectations. The best thing we can do is contribute helpful information.</p>
<p dir="auto">Here is what I was able to deduce when this issue came up.</p>
<p dir="auto">When creating a Windows VM in uefi mode and using the floppy_file option in packer:</p>
<ol>
<li>There is a disk added as "fda"</li>
<li>However the fda device is not available as the a: drive or any other drive letter. When booted using bios mode, you can find the fda device by settting drive letter to "a:".</li>
</ol>
<p dir="auto">This is likely because uefi typically does not support floppy disks. I believe in VMWare when the floppy_file option was used in UEFI mode, it added the ISO as a DVD drive instead of an FDA.</p>
<p dir="auto">Not sure if this is best solved at the Packer level or if it should be intercepted and corrected XCP-ng level?</p>
]]></description><link>https://xcp-ng.org/forum/post/79402</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/79402</guid><dc:creator><![CDATA[mtcoffee]]></dc:creator><pubDate>Fri, 28 Jun 2024 13:13:38 GMT</pubDate></item><item><title><![CDATA[Reply to Packer Created VMs Failing to Boot on Fri, 28 Jun 2024 13:14:43 GMT]]></title><description><![CDATA[<p dir="auto">Contributions are welcome, we are pretty busy here, and if we planned to have a fully dedicated "Devops" team, it will be in place in September. So please be patient, we do not have 5000 engineers <img src="https://xcp-ng.org/forum/assets/plugins/nodebb-plugin-emoji/emoji/android/1f609.png?v=1d3f495298e" class="not-responsive emoji emoji-android emoji--wink" style="height:1.4em;width:auto;vertical-align:middle" title=";)" alt="😉" /></p>
]]></description><link>https://xcp-ng.org/forum/post/79389</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/79389</guid><dc:creator><![CDATA[olivierlambert]]></dc:creator><pubDate>Fri, 28 Jun 2024 13:14:43 GMT</pubDate></item><item><title><![CDATA[Reply to Packer Created VMs Failing to Boot on Fri, 28 Jun 2024 08:32:26 GMT]]></title><description><![CDATA[<p dir="auto">I would really love to get this working w XCP, no bios, I mean uefi only.<br />
Packer was super easy to setup on ESXi + vCenter!</p>
]]></description><link>https://xcp-ng.org/forum/post/79387</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/79387</guid><dc:creator><![CDATA[fatek]]></dc:creator><pubDate>Fri, 28 Jun 2024 08:32:26 GMT</pubDate></item><item><title><![CDATA[Reply to Packer Created VMs Failing to Boot on Thu, 27 Jun 2024 16:56:38 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> thank you</p>
]]></description><link>https://xcp-ng.org/forum/post/79332</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/79332</guid><dc:creator><![CDATA[fatek]]></dc:creator><pubDate>Thu, 27 Jun 2024 16:56:38 GMT</pubDate></item><item><title><![CDATA[Reply to Packer Created VMs Failing to Boot on Thu, 27 Jun 2024 16:54:13 GMT]]></title><description><![CDATA[<p dir="auto"><a href="https://discord.gg/Cp2CDhqd" target="_blank" rel="noopener noreferrer nofollow ugc">https://discord.gg/Cp2CDhqd</a></p>
]]></description><link>https://xcp-ng.org/forum/post/79331</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/79331</guid><dc:creator><![CDATA[olivierlambert]]></dc:creator><pubDate>Thu, 27 Jun 2024 16:54:13 GMT</pubDate></item><item><title><![CDATA[Reply to Packer Created VMs Failing to Boot on Thu, 27 Jun 2024 16:52:18 GMT]]></title><description><![CDATA[<p dir="auto">Anyone know where the <a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/ddelnano" aria-label="Profile: ddelnano">@<bdi>ddelnano</bdi></a> Discord channel is?</p>
]]></description><link>https://xcp-ng.org/forum/post/79330</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/79330</guid><dc:creator><![CDATA[fatek]]></dc:creator><pubDate>Thu, 27 Jun 2024 16:52:18 GMT</pubDate></item><item><title><![CDATA[Reply to Packer Created VMs Failing to Boot on Thu, 27 Jun 2024 00:25:00 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/fatek" aria-label="Profile: fatek">@<bdi>fatek</bdi></a></p>
<p dir="auto">I noted that in the packer file. I was not able to get packers floppy_files working in uefi mode.</p>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/ddelnano" aria-label="Profile: ddelnano">@<bdi>ddelnano</bdi></a> might have some insight?</p>
]]></description><link>https://xcp-ng.org/forum/post/79310</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/79310</guid><dc:creator><![CDATA[mtcoffee]]></dc:creator><pubDate>Thu, 27 Jun 2024 00:25:00 GMT</pubDate></item><item><title><![CDATA[Reply to Packer Created VMs Failing to Boot on Wed, 26 Jun 2024 23:48:59 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/mtcoffee" aria-label="Profile: mtcoffee">@<bdi>mtcoffee</bdi></a> Any luck getting autounattend.xml - UEFI to work?</p>
]]></description><link>https://xcp-ng.org/forum/post/79309</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/79309</guid><dc:creator><![CDATA[fatek]]></dc:creator><pubDate>Wed, 26 Jun 2024 23:48:59 GMT</pubDate></item><item><title><![CDATA[Reply to Packer Created VMs Failing to Boot on Tue, 25 Jun 2024 18:10:21 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/mtcoffee" aria-label="Profile: mtcoffee">@<bdi>mtcoffee</bdi></a> talk about great timing?<br />
About 25 minutes ago, I git cloned your repo!<br />
Thanks.</p>
]]></description><link>https://xcp-ng.org/forum/post/79272</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/79272</guid><dc:creator><![CDATA[fatek]]></dc:creator><pubDate>Tue, 25 Jun 2024 18:10:21 GMT</pubDate></item><item><title><![CDATA[Reply to Packer Created VMs Failing to Boot on Tue, 25 Jun 2024 17:40:00 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/fatek" aria-label="Profile: fatek">@<bdi>fatek</bdi></a></p>
<p dir="auto">After posting this I ended up building out a sample project and shared on github.<br />
<a href="https://github.com/mtcoffee/xcp-ng-packer-examples" target="_blank" rel="noopener noreferrer nofollow ugc">https://github.com/mtcoffee/xcp-ng-packer-examples</a></p>
]]></description><link>https://xcp-ng.org/forum/post/79271</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/79271</guid><dc:creator><![CDATA[mtcoffee]]></dc:creator><pubDate>Tue, 25 Jun 2024 17:40:00 GMT</pubDate></item><item><title><![CDATA[Reply to Packer Created VMs Failing to Boot on Tue, 25 Jun 2024 17:26:10 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/mtcoffee" aria-label="Profile: mtcoffee">@<bdi>mtcoffee</bdi></a> said in <a href="/forum/post/75826">Packer Created VMs Failing to Boot</a>:</p>
<blockquote>
<p dir="auto">Do you have a pkr.hcl for windows that you can share?</p>
</blockquote>
<p dir="auto">Follow up question: Do you have a pkr.hcl for windows that you can share?</p>
]]></description><link>https://xcp-ng.org/forum/post/79270</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/79270</guid><dc:creator><![CDATA[fatek]]></dc:creator><pubDate>Tue, 25 Jun 2024 17:26:10 GMT</pubDate></item><item><title><![CDATA[Reply to Packer Created VMs Failing to Boot on Thu, 18 Apr 2024 17:34:20 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/dan89" aria-label="Profile: dan89">@<bdi>dan89</bdi></a></p>
<p dir="auto">Do you have a pkr.hcl for windows that you can share?</p>
<p dir="auto">I am curious how your handling winrm and autounattend.xml?</p>
]]></description><link>https://xcp-ng.org/forum/post/75826</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/75826</guid><dc:creator><![CDATA[mtcoffee]]></dc:creator><pubDate>Thu, 18 Apr 2024 17:34:20 GMT</pubDate></item><item><title><![CDATA[Reply to Packer Created VMs Failing to Boot on Tue, 07 Nov 2023 18:26:00 GMT]]></title><description><![CDATA[<p dir="auto">We posted at the same time <img src="https://xcp-ng.org/forum/assets/plugins/nodebb-plugin-emoji/emoji/android/1f604.png?v=1d3f495298e" class="not-responsive emoji emoji-android emoji--smile" style="height:1.4em;width:auto;vertical-align:middle" title=":D" alt="😄" /></p>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/dan89" aria-label="Profile: dan89">@<bdi>dan89</bdi></a> Glad you figured it out !</p>
<p dir="auto">Maybe it can be documented in the packer repo. What do you think <a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/ddelnano" aria-label="Profile: ddelnano">@<bdi>ddelnano</bdi></a> ?</p>
]]></description><link>https://xcp-ng.org/forum/post/67223</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/67223</guid><dc:creator><![CDATA[AtaxyaNetwork]]></dc:creator><pubDate>Tue, 07 Nov 2023 18:26:00 GMT</pubDate></item><item><title><![CDATA[Reply to Packer Created VMs Failing to Boot on Tue, 07 Nov 2023 18:24:32 GMT]]></title><description><![CDATA[<p dir="auto">Hi <a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/dan89" aria-label="Profile: dan89">@<bdi>dan89</bdi></a> !</p>
<p dir="auto">I'm not a windows expert, but I can do some testing.</p>
<p dir="auto">Can you show us your pkr.hcl file ?</p>
]]></description><link>https://xcp-ng.org/forum/post/67222</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/67222</guid><dc:creator><![CDATA[AtaxyaNetwork]]></dc:creator><pubDate>Tue, 07 Nov 2023 18:24:32 GMT</pubDate></item><item><title><![CDATA[Reply to Packer Created VMs Failing to Boot on Tue, 07 Nov 2023 18:23:54 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> - Figured it out for anyone else's future reference.</p>
<p dir="auto">When setting platform_args you need to define all of them even if you only need to change one.</p>
<p dir="auto">Since the defaults are</p>
<pre><code>{
    "viridian": "false",
    "nx": "true",
    "pae": "true",
    "apic": "true",
    "timeoffset": "0",
    "acpi": "1",
    "cores-per-socket": "1"
}
</code></pre>
<p dir="auto">I needed to include all of them even though I only needed <code>"viridian": "true"</code>.  Once I added in the other options the VM booted and the build worked.</p>
]]></description><link>https://xcp-ng.org/forum/post/67221</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/67221</guid><dc:creator><![CDATA[dan89]]></dc:creator><pubDate>Tue, 07 Nov 2023 18:23:54 GMT</pubDate></item></channel></rss>