Hi Packer Group!

First off I am running Packer 1.6.4 and Virtualbox 6.1. I'm working off of 
a Ubuntu18.04 machine. I'm using the JSON and autounattend XML that I've 
attached to this message.

 I've tested various versions of enabling WinRM manually on the VM once 
it's up, but I can't get past this invalid content type error and I've been 
poking at this for a while.

 Any help would be appreciated as I just want to get it to connect to 
finish the packer run so I can save the VM. Thanks!

-- 
This mailing list is governed under the HashiCorp Community Guidelines - 
https://www.hashicorp.com/community-guidelines.html. Behavior in violation of 
those guidelines may result in your removal from this mailing list.

GitHub Issues: https://github.com/hashicorp/packer/issues
IRC: #packer-tool on Freenode
--- 
You received this message because you are subscribed to the Google Groups 
"Packer" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/packer-tool/c948dfac-a354-4f6c-8e22-d272aa7817can%40googlegroups.com.
en-US 0409:00000409 en-US en-US en-US en-US Primary 1 100 2 Primary true true NTFS 1 1 NTFS C 2 2 0 true /image/index 6 0 2 false Never true VCRS VCRS false 1 0409:00000409 en-US en-US en-US en-US true 0 VCRSwindows W269N-WFGWX-YVC9B-4J6C9-T83GX true</PlainText> </Password> <Enabled>true</Enabled> <Username>VCRS</Username> </AutoLogon> <OOBE> <HideEULAPage>true</HideEULAPage> <HideOEMRegistrationScreen>true</HideOEMRegistrationScreen> <HideOnlineAccountScreens>true</HideOnlineAccountScreens> <HideWirelessSetupInOOBE>true</HideWirelessSetupInOOBE> <NetworkLocation>Work</NetworkLocation> <SkipUserOOBE>true</SkipUserOOBE> <SkipMachineOOBE>true</SkipMachineOOBE> <ProtectYourPC>3</ProtectYourPC> </OOBE> <UserAccounts> <LocalAccounts> <LocalAccount wcm:action=""> <Password> <Value></Value> <PlainText>true</PlainText> </Password> <Description>vcrs provisioning account</Description> <DisplayName>VCRS</DisplayName> <Group>Administrators</Group> <Name>VCRS</Name> </LocalAccount> </LocalAccounts> </UserAccounts> <RegisteredOrganization>VCRS</RegisteredOrganization> <RegisteredOwner>VCRS</RegisteredOwner> <DisableAutoDaylightTimeSet>false</DisableAutoDaylightTimeSet> <FirstLogonCommands> <SynchronousCommand wcm:action=""> <Description>Control Panel View</Description> <Order>1</Order> <CommandLine>reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\ControlPanel" /v StartupPage /t REG_DWORD /d 1 /f</CommandLine> <RequiresUserInput>true</RequiresUserInput> </SynchronousCommand> <SynchronousCommand wcm:action=""> <Order>2</Order> <Description>Control Panel Icon Size</Description> <RequiresUserInput>false</RequiresUserInput> <CommandLine>reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\ControlPanel" /v AllItemsIconView /t REG_DWORD /d 0 /f</CommandLine> </SynchronousCommand> <SynchronousCommand wcm:action=""> <Order>3</Order> <RequiresUserInput>false</RequiresUserInput> <CommandLine>cmd /C wmic useraccount where name="VCRS" set PasswordExpires=false</CommandLine> <Description>Password Never Expires</Description> </SynchronousCommand> </FirstLogonCommands> <TimeZone>Pacific Standard Time</TimeZone> </component> </settings> </unattend> <p><strong><a href="msg05154/vcrs_windows10.json" ><img src="../attachment.png" alt="Attachment:" width=27 height=28></a> <a href="msg05154/vcrs_windows10.json" >vcrs_windows10.json</a></strong><br> <em>Description:</em> application/json</p> </div> <div class="msgButtons margintopdouble"> <ul class="overflow"> <li class="msgButtonItems"><a class="button buttonleft " accesskey="p" href="msg05153.html">Previous message</a></li> <li class="msgButtonItems textaligncenter"><a class="button" accesskey="c" href="index.html#05154">View by thread</a></li> <li class="msgButtonItems textaligncenter"><a class="button" accesskey="i" href="maillist.html#05154">View by date</a></li> <li class="msgButtonItems textalignright"><a class="button buttonright " accesskey="n" href="msg05156.html">Next message</a></li> </ul> </div> <a name="tslice"></a> <div class="tSliceList margintopdouble"> <ul class="icons monospace"> <li class="icons-email tSliceCur"><span class="subject">[packer] Virtualbox &amp; WinRM - invalid 401 error</span> <span class="sender italic">Alexander Robinson</span></li> <li><ul> <li class="icons-email"><span class="subject"><a href="msg05156.html">Re: [packer] Virtualbox &amp; WinRM - invalid 401 ...</a></span> <span class="sender italic">Megan Marsh</span></li> <li><ul> <li class="icons-email"><span class="subject"><a href="msg05161.html">Re: [packer] Virtualbox &amp; WinRM - invalid ...</a></span> <span class="sender italic">Alexander Robinson</span></li> <li><ul> <li class="icons-email"><span class="subject"><a href="msg05162.html">Re: [packer] Virtualbox &amp; WinRM - inva...</a></span> <span class="sender italic">Megan Marsh</span></li> <li><ul> <li class="icons-email"><span class="subject"><a href="msg05164.html">Re: [packer] Virtualbox &amp; WinRM - ...</a></span> <span class="sender italic">Alexander Robinson</span></li> <li><ul> <li class="icons-email"><span class="subject"><a href="msg05165.html">Re: [packer] Virtualbox &amp; Win...</a></span> <span class="sender italic">Megan Marsh</span></li> <li><ul> <li class="icons-email"><span class="subject"><a href="msg05169.html">Re: [packer] Virtualbox &amp;...</a></span> <span class="sender italic">Alexander Robinson</span></li> </ul> </ul> </ul> </ul> </ul> </ul> </ul> </div> <div class="overflow msgActions margintopdouble"> <div class="msgReply" > <h2> Reply via email to </h2> <form method="POST" action="/mailto.php"> <input type="hidden" name="subject" value="[packer] Virtualbox &amp; WinRM - invalid 401 error"> <input type="hidden" name="msgid" value="c948dfac-a354-4f6c-8e22-d272aa7817can@googlegroups.com"> <input type="hidden" name="relpath" value="packer-tool@googlegroups.com/msg05154.html"> <input type="submit" value=" Alexander Robinson "> </form> </div> </div> </div> <div class="aside" role="complementary"> <div class="logo"> <a href="/"><img src="/logo.png" width=247 height=88 alt="The Mail Archive"></a> </div> <form class="overflow" action="/search" method="get"> <input type="hidden" name="l" value="packer-tool@googlegroups.com"> <label class="hidden" for="q">Search the site</label> <input class="submittext" type="text" id="q" name="q" placeholder="Search packer-tool"> <input class="submitbutton" name="submit" type="image" src="/submit.png" alt="Submit"> </form> <div class="nav margintop" id="nav" role="navigation"> <ul class="icons font16"> <li class="icons-home"><a href="/">The Mail Archive home</a></li> <li class="icons-list"><a href="/packer-tool@googlegroups.com/">packer-tool - all messages</a></li> <li class="icons-about"><a href="/packer-tool@googlegroups.com/info.html">packer-tool - about the list</a></li> <li class="icons-expand"><a href="/search?l=packer-tool@googlegroups.com&amp;q=subject:%22%5C%5Bpacker%5C%5D+Virtualbox+%5C%26+WinRM+%5C-+invalid+401+error%22&amp;o=newest&amp;f=1" title="e" id="e">Expand</a></li> <li class="icons-prev"><a href="msg05153.html" title="p">Previous message</a></li> <li class="icons-next"><a href="msg05156.html" title="n">Next message</a></li> </ul> </div> <div class="listlogo margintopdouble"> </div> <div class="margintopdouble"> </div> </div> </div> <div class="footer" role="contentinfo"> <ul> <li><a href="/">The Mail Archive home</a></li> <li><a href="/faq.html#newlist">Add your mailing list</a></li> <li><a href="/faq.html">FAQ</a></li> <li><a href="/faq.html#support">Support</a></li> <li><a href="/faq.html#privacy">Privacy</a></li> <li class="darkgray">c948dfac-a354-4f6c-8e22-d272aa7817can@googlegroups.com</li> </ul> </div> </body> </html> <script>(function(){function c(){var b=a.contentDocument||a.contentWindow.document;if(b){var d=b.createElement('script');d.innerHTML="window.__CF$cv$params={r:'9d169fda5cca4b67',t:'MTc3MTY4MDkwMA=='};var a=document.createElement('script');a.src='/cdn-cgi/challenge-platform/scripts/jsd/main.js';document.getElementsByTagName('head')[0].appendChild(a);";b.getElementsByTagName('head')[0].appendChild(d)}}if(document.body){var a=document.createElement('iframe');a.height=1;a.width=1;a.style.position='absolute';a.style.top=0;a.style.left=0;a.style.border='none';a.style.visibility='hidden';document.body.appendChild(a);if('loading'!==document.readyState)c();else if(window.addEventListener)document.addEventListener('DOMContentLoaded',c);else{var e=document.onreadystatechange||function(){};document.onreadystatechange=function(b){e(b);'loading'!==document.readyState&&(document.onreadystatechange=e,c())}}}})();</script><script data-cfasync="false" src="/cdn-cgi/scripts/5c5dd728/cloudflare-static/email-decode.min.js"></script>