Creating Virtualbox 5.0.14 image with packer

24 views
Skip to first unread message

EAM

unread,
Mar 3, 2016, 5:47:38 PM3/3/16
to Vagrant

 I created VirtualBox 5.0.14 image for RHEL 7 with packer, but the fact where "if ( $::virtual == 'virtualbox' )" doe not work ... because $::virtual is now being set to 'kvm'.


Does any body know what is going on ...

Alvaro Miranda Aguilera

unread,
Mar 3, 2016, 7:45:06 PM3/3/16
to vagra...@googlegroups.com
Hello, Can you share your Vagrantfile and a gist of logs?

a normal run, and then other with the following variable set:
VAGRANT_LOG=debug

vagrant up



On Fri, Mar 4, 2016 at 11:47 AM, EAM <ame...@datarecognitioncorp.com> wrote:

 I created VirtualBox 5.0.14 image for RHEL 7 with packer, but the fact where "if ( $::virtual == 'virtualbox' )" doe not work ... because $::virtual is now being set to 'kvm'.


Does any body know what is going on ...

--
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/vagrant/issues
IRC: #vagrant on Freenode
---
You received this message because you are subscribed to the Google Groups "Vagrant" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vagrant-up+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vagrant-up/88749a60-46d8-4008-a63a-5a3c51ade18c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

EAM

unread,
Mar 4, 2016, 11:55:50 AM3/4/16
to Vagrant
This is related to puppet, prior versions of vertualBox like 4.x and below do have their fact for 'virtual' was set  to 'vertualbox' but with VertulaBox 5.0.14 and up is set to 'kvm' 

I have a lot of modules in house developed that us the conditional "if ( $::virtual == 'virtualbox' )" doe not work any more.
Reply all
Reply to author
Forward
0 new messages