Skip to content
This repository has been archived by the owner on Nov 6, 2024. It is now read-only.

Use centos7 VirtualBox image from Atlas #17

Closed
dnsmichi opened this issue Jan 18, 2017 · 7 comments · Fixed by #57
Closed

Use centos7 VirtualBox image from Atlas #17

dnsmichi opened this issue Jan 18, 2017 · 7 comments · Fixed by #57

Comments

@dnsmichi
Copy link
Contributor

dnsmichi commented Jan 18, 2017

This requires us to

  • disable SELinux
  • install Puppet
  • install vbguest Vagrant plugin

Ensure that these changes work with Parallels and libvirt as provider.

Edit: There are certain problems with the official centos/7 box as it does not provide the VirtualBox guest tools. The vagrant-vbguest plugin would solve this somehow, but adds a dependency for the end user to install. Furthermore there are known bugs with VirtualBox guest additionals (5.1.20 is broken atm). I cannot support such scenarios and therefore need a box with has the guest additions pre-installed.

Final solution: Use the boxes provided by bento and clearly note that in the docs.

@dnsmichi
Copy link
Contributor Author

If the plugin is missing, the error message is unreadable. But there's the possibility to check for installed plugins and bail out with a telling error. This will allow a smooth change for users.

http://stackoverflow.com/questions/21001567/how-to-detect-from-a-vagrantfile-if-a-plugin-has-been-installed

@dnsmichi dnsmichi self-assigned this Apr 22, 2017
@dnsmichi dnsmichi modified the milestones: 1.3.0, 2.0.0 Apr 22, 2017
@dnsmichi
Copy link
Contributor Author

@dnsmichi
Copy link
Contributor Author

@dnsmichi
Copy link
Contributor Author

dnsmichi commented Apr 22, 2017

Boxes:

  • icinga2x
  • icinga2x-cluster
  • icinga2x-ha-cluster
  • icinga2x-influxdb
  • icinga2x-elastic
  • icinga2x-graylog
  • icinga2x-freebsd
  • dev/icinga1x-dev

dnsmichi pushed a commit that referenced this issue Apr 22, 2017
dnsmichi pushed a commit that referenced this issue Apr 22, 2017
dnsmichi pushed a commit that referenced this issue Apr 22, 2017
dnsmichi pushed a commit that referenced this issue Apr 22, 2017
dnsmichi pushed a commit that referenced this issue Apr 22, 2017
dnsmichi pushed a commit that referenced this issue Apr 22, 2017
dnsmichi pushed a commit that referenced this issue Apr 22, 2017
refs #17
refs #53
dnsmichi pushed a commit that referenced this issue Apr 22, 2017
Refactor Vagrantfile, use centos/7 box for VirtualBox, require vbguest plugin

Many thanks to @lbetz & @lazyfrosch for the inspirations!

fixes #17
fixes #53
dnsmichi pushed a commit that referenced this issue Apr 23, 2017
This prevents sharing source changes between the host and the guest.

refs #17
refs #53
@dnsmichi
Copy link
Contributor Author

I'm really unhappy with the current state and fiddling with the additional vbguest module. I'd prefer a centos base image which already includes the virtualbox guest tools. This must also work flawlessly on Windows, since the boxes serve as local demo too.

See CentOS/sig-cloud-instance-build#27

@bobapple is it safe to assume that http://boxes.icinga.com/vagrant/centos/centos-7.3-x64-virtualbox.box is available for the time being?

@dnsmichi dnsmichi reopened this Apr 24, 2017
@dnsmichi dnsmichi changed the title Use official centos7 VirtualBox image Use centos7 VirtualBox image from Atlas Apr 25, 2017
@dnsmichi
Copy link
Contributor Author

I'll stick with https://atlas.hashicorp.com/bento/boxes/centos-7.3 as this is recommended by many.

dnsmichi pushed a commit that referenced this issue Apr 25, 2017
Explicitly disable SELinux.

refs #17
@dnsmichi
Copy link
Contributor Author

Done, all tests were fine.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant