Skip to content
This repository was archived by the owner on Mar 22, 2018. It is now read-only.

Vagrantfile: Switch to use CentOS Atomic Host#181

Open
cgwalters wants to merge 2 commits intoprojectatomic:masterfrom
cgwalters:vagrant-use-ah
Open

Vagrantfile: Switch to use CentOS Atomic Host#181
cgwalters wants to merge 2 commits intoprojectatomic:masterfrom
cgwalters:vagrant-use-ah

Conversation

@cgwalters
Copy link
Member

Just putting this out there for discussion. I didn't try switching
the development box - if we wanted to do that it should be done via a
"pet container". Given we already have the Dockerfile I think doing
a docker build of that in the provisioner would work.

Just putting this out there for discussion.  I didn't try switching
the development box - if we wanted to do that it should be done via a
"pet container".  Given we already have the `Dockerfile` I think doing
a `docker build` of that in the provisioner would work.
@ashcrow
Copy link
Collaborator

ashcrow commented Aug 5, 2016

Thanks @cgwalters! I'll give it a run and see how things go.

Vagrantfile Outdated
config.vm.define "etcd" do |etcd|
etcd.vm.box = "fedora/24-cloud-base"
etcd.vm.box = "centos/atomic-host"
etcd.vm.network "private_network", ip: "192.168.152.101"
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Keeping the same address caused me a problem. Vagrant decided not to reuse the address and started to assign other seemingly random ones. Took me a bit to realize that. I'd like to increment the address.

@cooktheryan
Copy link
Collaborator

@ashcrow a couple nits

  • sudo hostnamectl set-hostname fedora-cloud to sudo hostnamectl set-hostname atomic-node or something similar
  • remove # End etcd
  • should we add the atomic host upgrade back in or is it unnecessary?

@cgwalters
Copy link
Member Author

Updated for review comments. I didn't add atomic host upgrade - we should keep the vagrant boxes fresh enough.

@ashcrow
Copy link
Collaborator

ashcrow commented Aug 11, 2016

@cgwalters fair enough. The changes look good to me. @cooktheryan what do you think?

@mbarnes
Copy link
Contributor

mbarnes commented Aug 17, 2016

Not clear to me why the IP addresses are changed, but the end-to-end tests under /features should be updated to match. (Also, this would be a good time to add a simple hostname lookup table for these tests so the IP addresses aren't spread all over.)

@rh-atomic-bot
Copy link

☔ The latest upstream changes (presumably #187) made this pull request unmergeable. Please resolve the merge conflicts.

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants