Need help -Building a virtual box image on a Windows 2016 VM running on XenServer fails

12 views
Skip to first unread message

Kiran

unread,
Jan 24, 2019, 12:21:24 AM1/24/19
to Packer
Hello there,

Our infrastructure is all running on XenServer. All our VM's are hosted on XenServer.
I need to build a virtual box image using Packer. The Packer will be running on one of these Vm's, hosted on the XenServer.
The problem i am currently seeing is that, whenever i execute Packer on the VM, the VM freezes. I am begining to think that this is a limitation of XenServer not supporting nested virtualization.
I followed the guidelines at https://justus.berlin/2015/07/nested-virtualization-in-citrix-xenserver-6-5-sp1/, to enable nested virtualization in the VM.
However, it still does not work.

Has anyone been able to get this working?

Please note that i am able to build the VirtualBox image on a physical system but not on a VM running on XenServer.

Any help would be very much appreciated.

Thanks,
Kiran Hegde

Kiran

unread,
Jan 24, 2019, 12:35:51 AM1/24/19
to Packer
I am using XenServer 7.5.0. The VM where Packer is running is a Windows 2016 DataCenter edition. I have tried this with different versions of Packer and its still the same result.

Rickard von Essen

unread,
Jan 24, 2019, 1:38:11 AM1/24/19
to packe...@googlegroups.com
First of all, can you manually run a VirtualBox VM on the Xen VM? (i.e. does nested virt and VirtualBox work? 

--
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/mitchellh/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 packer-tool...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/packer-tool/b5069725-a873-49c1-b636-d0a9e54fe7d4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages