Re: [vagrant-up] Can (and how) additional OS rpms be added to generic/centos7 or generic/rhel7 Vagrant boxes ?

2020-03-17 Thread Jeff Bonhag
Hi,

I think the answer is "it depends." :) In most cases it's fine, but there
may be issues when the versions don't match (such as with shared folders).

I can offer a couple of suggestions in the context of Vagrant:

- Using a Vagrant box that includes the latest guest additions (such as
bento/centos-7)
- Using the vagrant-vbguest plugin (
https://github.com/dotless-de/vagrant-vbguest) to update the guest
additions on your VM automatically


Cheers,
Jeff

On Mon, Mar 16, 2020 at 4:08 PM BDutta  wrote:

> On Tuesday, March 17, 2020 at 1:29:01 AM UTC+5:30, BDutta wrote:
>>
>>
>> On Monday, March 16, 2020 at 8:07:38 PM UTC+5:30, Jeff Bonhag wrote:
>>>
>>> Hi there,
>>>
>>> The generic boxes are maintained by https://roboxes.org/ (see
>>> https://app.vagrantup.com/generic). That organization maintains a set
>>> of Packer templates for each provider. For example, here is their builder
>>> for VirtualBox/CentOS 7:
>>>
>>>
>>> https://github.com/lavabit/robox/blob/master/generic-virtualbox.json#L1781
>>>
>>>
>> Perfect. Just the bit of information I needed. It is indeed based on
>> CentOS7 Minimal ISO, as I could see.
>> Thanks.
>>
>
> Wrote too soon. I noticed that the box is using a rather old Guest
> Additions iso, from the 5.x line:
> "guest_additions_url": "
> https://download.virtualbox.org/virtualbox/5.2.34/VBoxGuestAdditions_5.2.34.iso
> ",
> where-as my VirtualBox is from the 6.x line.
>
> In my vagrant ssh console, here is what I see:
> [vagrant@centos7 yum.repos.d]$ lsmod | grep vboxguest
> vboxguest 311499  2 vboxsf
>
> and also,
> [vagrant@centos7 yum.repos.d]$ sudo /usr/sbin/VBoxService --version
> 5.2.34r133893
>
> Does it mean that the guest additions from Virtualbox 5.x are working well
> with Virtualbox 6.x ? Seems unlikely based on what I recollect about
> virtualbox guest additions.
>
> In anycase, I think this question is perhaps more appropriate for
> Virtualbox forums, but would be happy to find answer here as well,
> especially in vagrant box context.
>
>
>> Cheers,
>>> Jeff
>>> On Mon, Mar 16, 2020 at 9:44 AM BDutta  wrote:
>>>
 Thanks for the response.

 It there a way to know if the generic/centos7 box is built using
 CentOS7 'minimal' image or 'full image' ?
 Is there some box specific metadata that is available or a way to check
 for this information with the box publisher ?

 On Monday, March 16, 2020 at 4:33:06 AM UTC+5:30, Alvaro Miranda
 Aguilera wrote:
>
> hello
>
> in general:
>
> you can run scripts and install the software you need.
> https://www.vagrantup.com/docs/provisioning/shell.html
>
> if the process is too slow, you can build your own boxes ready to use.
>
> Alvaro
>
> On Sat, Mar 14, 2020 at 9:39 PM BDutta  wrote:
>
>> Hi,
>>
>> Absolute Vagrant newbie here.
>>
>> Are the generic/centos7 or generic/rhel7 Vagrant boxes, extensible or
>> upgradable such that additional operating system rpms could be installed 
>> ?
>> I am assuming that those boxes might be setup using the minimal
>> image? What if I need some of the rpms that are available as part of
>> standard RHEL7/CentOS7 distribution, but not on the box ?
>>
>> cheers,
>> B
>>
> --
> 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+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/vagrant-up/e7194967-bd76-4ac6-bb15-2a2a1e909ca9%40googlegroups.com
> 
> .
>

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vagrant-up/CAAf6GacYBEZLndAfGu0_U7B3%3DUZVax8vYBRx-SZQR26aOX3VTw%40mail.gmail.com.


Re: [vagrant-up] Can (and how) additional OS rpms be added to generic/centos7 or generic/rhel7 Vagrant boxes ?

2020-03-16 Thread BDutta
On Tuesday, March 17, 2020 at 1:29:01 AM UTC+5:30, BDutta wrote:
>
>
> On Monday, March 16, 2020 at 8:07:38 PM UTC+5:30, Jeff Bonhag wrote:
>>
>> Hi there,
>>
>> The generic boxes are maintained by https://roboxes.org/ (see 
>> https://app.vagrantup.com/generic). That organization maintains a set of 
>> Packer templates for each provider. For example, here is their builder for 
>> VirtualBox/CentOS 7:
>>
>> https://github.com/lavabit/robox/blob/master/generic-virtualbox.json#L1781
>>
>>
> Perfect. Just the bit of information I needed. It is indeed based on 
> CentOS7 Minimal ISO, as I could see.
> Thanks.
>

Wrote too soon. I noticed that the box is using a rather old Guest 
Additions iso, from the 5.x line:
"guest_additions_url": "
https://download.virtualbox.org/virtualbox/5.2.34/VBoxGuestAdditions_5.2.34.iso
",
where-as my VirtualBox is from the 6.x line.

In my vagrant ssh console, here is what I see:
[vagrant@centos7 yum.repos.d]$ lsmod | grep vboxguest
vboxguest 311499  2 vboxsf

and also,
[vagrant@centos7 yum.repos.d]$ sudo /usr/sbin/VBoxService --version
5.2.34r133893

Does it mean that the guest additions from Virtualbox 5.x are working well 
with Virtualbox 6.x ? Seems unlikely based on what I recollect about 
virtualbox guest additions.

In anycase, I think this question is perhaps more appropriate for 
Virtualbox forums, but would be happy to find answer here as well, 
especially in vagrant box context.


> Cheers,
>> Jeff
>> On Mon, Mar 16, 2020 at 9:44 AM BDutta  wrote:
>>
>>> Thanks for the response.
>>>
>>> It there a way to know if the generic/centos7 box is built using CentOS7 
>>> 'minimal' image or 'full image' ?
>>> Is there some box specific metadata that is available or a way to check 
>>> for this information with the box publisher ?
>>>
>>> On Monday, March 16, 2020 at 4:33:06 AM UTC+5:30, Alvaro Miranda 
>>> Aguilera wrote:

 hello

 in general:

 you can run scripts and install the software you need.
 https://www.vagrantup.com/docs/provisioning/shell.html

 if the process is too slow, you can build your own boxes ready to use.

 Alvaro

 On Sat, Mar 14, 2020 at 9:39 PM BDutta  wrote:

> Hi,
>
> Absolute Vagrant newbie here.
>
> Are the generic/centos7 or generic/rhel7 Vagrant boxes, extensible or 
> upgradable such that additional operating system rpms could be installed ?
> I am assuming that those boxes might be setup using the minimal image? 
> What if I need some of the rpms that are available as part of standard 
> RHEL7/CentOS7 distribution, but not on the box ?
>
> cheers,
> B
>


-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vagrant-up/e7194967-bd76-4ac6-bb15-2a2a1e909ca9%40googlegroups.com.


Re: [vagrant-up] Can (and how) additional OS rpms be added to generic/centos7 or generic/rhel7 Vagrant boxes ?

2020-03-16 Thread BDutta

On Monday, March 16, 2020 at 8:07:38 PM UTC+5:30, Jeff Bonhag wrote:
>
> Hi there,
>
> The generic boxes are maintained by https://roboxes.org/ (see 
> https://app.vagrantup.com/generic). That organization maintains a set of 
> Packer templates for each provider. For example, here is their builder for 
> VirtualBox/CentOS 7:
>
> https://github.com/lavabit/robox/blob/master/generic-virtualbox.json#L1781
>
>
Perfect. Just the bit of information I needed. It is indeed based on 
CentOS7 Minimal ISO, as I could see.
Thanks.

Cheers,
> Jeff
> On Mon, Mar 16, 2020 at 9:44 AM BDutta > 
> wrote:
>
>> Thanks for the response.
>>
>> It there a way to know if the generic/centos7 box is built using CentOS7 
>> 'minimal' image or 'full image' ?
>> Is there some box specific metadata that is available or a way to check 
>> for this information with the box publisher ?
>>
>> On Monday, March 16, 2020 at 4:33:06 AM UTC+5:30, Alvaro Miranda Aguilera 
>> wrote:
>>>
>>> hello
>>>
>>> in general:
>>>
>>> you can run scripts and install the software you need.
>>> https://www.vagrantup.com/docs/provisioning/shell.html
>>>
>>> if the process is too slow, you can build your own boxes ready to use.
>>>
>>> Alvaro
>>>
>>> On Sat, Mar 14, 2020 at 9:39 PM BDutta  wrote:
>>>
 Hi,

 Absolute Vagrant newbie here.

 Are the generic/centos7 or generic/rhel7 Vagrant boxes, extensible or 
 upgradable such that additional operating system rpms could be installed ?
 I am assuming that those boxes might be setup using the minimal image? 
 What if I need some of the rpms that are available as part of standard 
 RHEL7/CentOS7 distribution, but not on the box ?

 cheers,
 B

 -- 
 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 vagra...@googlegroups.com.
 To view this discussion on the web visit 
 https://groups.google.com/d/msgid/vagrant-up/6fd3fac4-75e0-4c20-b064-a1d053ee439d%40googlegroups.com
  
 
 .

>>>
>>>
>>> -- 
>>> Alvaro
>>>
>>> -- 
>> 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 vagra...@googlegroups.com .
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/vagrant-up/81090976-932e-49ec-adb6-1926051e043e%40googlegroups.com
>>  
>> 
>> .
>>
>

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vagrant-up/6ae0f9f7-21cf-4534-bd72-aa233118ba49%40googlegroups.com.


Re: [vagrant-up] Can (and how) additional OS rpms be added to generic/centos7 or generic/rhel7 Vagrant boxes ?

2020-03-16 Thread Jeff Bonhag
Hi there,

The generic boxes are maintained by https://roboxes.org/ (see
https://app.vagrantup.com/generic). That organization maintains a set of
Packer templates for each provider. For example, here is their builder for
VirtualBox/CentOS 7:

https://github.com/lavabit/robox/blob/master/generic-virtualbox.json#L1781

Cheers,
Jeff

On Mon, Mar 16, 2020 at 9:44 AM BDutta  wrote:

> Thanks for the response.
>
> It there a way to know if the generic/centos7 box is built using CentOS7
> 'minimal' image or 'full image' ?
> Is there some box specific metadata that is available or a way to check
> for this information with the box publisher ?
>
> On Monday, March 16, 2020 at 4:33:06 AM UTC+5:30, Alvaro Miranda Aguilera
> wrote:
>>
>> hello
>>
>> in general:
>>
>> you can run scripts and install the software you need.
>> https://www.vagrantup.com/docs/provisioning/shell.html
>>
>> if the process is too slow, you can build your own boxes ready to use.
>>
>> Alvaro
>>
>> On Sat, Mar 14, 2020 at 9:39 PM BDutta  wrote:
>>
>>> Hi,
>>>
>>> Absolute Vagrant newbie here.
>>>
>>> Are the generic/centos7 or generic/rhel7 Vagrant boxes, extensible or
>>> upgradable such that additional operating system rpms could be installed ?
>>> I am assuming that those boxes might be setup using the minimal image?
>>> What if I need some of the rpms that are available as part of standard
>>> RHEL7/CentOS7 distribution, but not on the box ?
>>>
>>> cheers,
>>> B
>>>
>>> --
>>> 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 vagra...@googlegroups.com.
>>> To view this discussion on the web visit
>>> https://groups.google.com/d/msgid/vagrant-up/6fd3fac4-75e0-4c20-b064-a1d053ee439d%40googlegroups.com
>>> 
>>> .
>>>
>>
>>
>> --
>> Alvaro
>>
>> --
> 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+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/vagrant-up/81090976-932e-49ec-adb6-1926051e043e%40googlegroups.com
> 
> .
>

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vagrant-up/CAAf6Gaf7%3DOFkdu4EmE1Q-1yyPLW4YK_e6%3DB2og1TsOSg8zUQRw%40mail.gmail.com.


Re: [vagrant-up] Can (and how) additional OS rpms be added to generic/centos7 or generic/rhel7 Vagrant boxes ?

2020-03-16 Thread BDutta
Thanks for the response.

It there a way to know if the generic/centos7 box is built using CentOS7 
'minimal' image or 'full image' ?
Is there some box specific metadata that is available or a way to check for 
this information with the box publisher ?

On Monday, March 16, 2020 at 4:33:06 AM UTC+5:30, Alvaro Miranda Aguilera 
wrote:
>
> hello
>
> in general:
>
> you can run scripts and install the software you need.
> https://www.vagrantup.com/docs/provisioning/shell.html
>
> if the process is too slow, you can build your own boxes ready to use.
>
> Alvaro
>
> On Sat, Mar 14, 2020 at 9:39 PM BDutta > 
> wrote:
>
>> Hi,
>>
>> Absolute Vagrant newbie here.
>>
>> Are the generic/centos7 or generic/rhel7 Vagrant boxes, extensible or 
>> upgradable such that additional operating system rpms could be installed ?
>> I am assuming that those boxes might be setup using the minimal image? 
>> What if I need some of the rpms that are available as part of standard 
>> RHEL7/CentOS7 distribution, but not on the box ?
>>
>> cheers,
>> B
>>
>> -- 
>> 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 vagra...@googlegroups.com .
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/vagrant-up/6fd3fac4-75e0-4c20-b064-a1d053ee439d%40googlegroups.com
>>  
>> 
>> .
>>
>
>
> -- 
> Alvaro
>
>

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vagrant-up/81090976-932e-49ec-adb6-1926051e043e%40googlegroups.com.


Re: [vagrant-up] Can (and how) additional OS rpms be added to generic/centos7 or generic/rhel7 Vagrant boxes ?

2020-03-15 Thread Alvaro Miranda Aguilera
hello

in general:

you can run scripts and install the software you need.
https://www.vagrantup.com/docs/provisioning/shell.html

if the process is too slow, you can build your own boxes ready to use.

Alvaro

On Sat, Mar 14, 2020 at 9:39 PM BDutta  wrote:

> Hi,
>
> Absolute Vagrant newbie here.
>
> Are the generic/centos7 or generic/rhel7 Vagrant boxes, extensible or
> upgradable such that additional operating system rpms could be installed ?
> I am assuming that those boxes might be setup using the minimal image?
> What if I need some of the rpms that are available as part of standard
> RHEL7/CentOS7 distribution, but not on the box ?
>
> cheers,
> B
>
> --
> 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+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/vagrant-up/6fd3fac4-75e0-4c20-b064-a1d053ee439d%40googlegroups.com
> 
> .
>


-- 
Alvaro

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vagrant-up/CAHqq0eymBaMOLrjD2AfKXUdpe%2B8mzKApZ4XYdEEzkUKj%2B%2BtJLQ%40mail.gmail.com.