Skip to content

Commit

Permalink
Fix workaround for Vagrant bug #9096
Browse files Browse the repository at this point in the history
fixes #19
  • Loading branch information
Michael Friedrich committed Jan 20, 2017
1 parent 5283660 commit a8908db
Show file tree
Hide file tree
Showing 6 changed files with 21 additions and 1 deletion.
4 changes: 4 additions & 0 deletions icinga2x-cluster/Vagrantfile
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,10 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|

app_config.vm.provision :shell, :path => "manifests/puppet.sh"

# workaround for Vagrant >1.8.4-1.9.1 not bringing up eth1 properly
# https://github.com/mitchellh/vagrant/issues/8096
app_config.vm.provision "shell", inline: "service network restart", run: "always"

# parallels
app_config.vm.provider :parallels do |p, override|
override.vm.box = "parallels/centos-7.2"
Expand Down
4 changes: 4 additions & 0 deletions icinga2x-elastic/Vagrantfile
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,10 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|

app_config.vm.provision :shell, :path => "manifests/puppet.sh"

# workaround for Vagrant >1.8.4-1.9.1 not bringing up eth1 properly
# https://github.com/mitchellh/vagrant/issues/8096
app_config.vm.provision "shell", inline: "service network restart", run: "always"

# parallels
app_config.vm.provider :parallels do |p, override|
override.vm.box = "parallels/centos-7.2"
Expand Down
4 changes: 4 additions & 0 deletions icinga2x-graylog/Vagrantfile
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,10 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|

app_config.vm.provision :shell, :path => "manifests/puppet.sh"

# workaround for Vagrant >1.8.4-1.9.1 not bringing up eth1 properly
# https://github.com/mitchellh/vagrant/issues/8096
app_config.vm.provision "shell", inline: "service network restart", run: "always"

# parallels
app_config.vm.provider :parallels do |p, override|
override.vm.box = "parallels/centos-7.2"
Expand Down
4 changes: 4 additions & 0 deletions icinga2x-ha-cluster/Vagrantfile
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,10 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|

app_config.vm.provision :shell, :path => "manifests/puppet.sh"

# workaround for Vagrant >1.8.4-1.9.1 not bringing up eth1 properly
# https://github.com/mitchellh/vagrant/issues/8096
app_config.vm.provision "shell", inline: "service network restart", run: "always"

# parallels
app_config.vm.provider :parallels do |p, override|
override.vm.box = "parallels/centos-7.2"
Expand Down
4 changes: 4 additions & 0 deletions icinga2x-influxdb/Vagrantfile
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,10 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|

app_config.vm.provision :shell, :path => "manifests/puppet.sh"

# workaround for Vagrant >1.8.4-1.9.1 not bringing up eth1 properly
# https://github.com/mitchellh/vagrant/issues/8096
app_config.vm.provision "shell", inline: "service network restart", run: "always"

# parallels
app_config.vm.provider :parallels do |p, override|
override.vm.box = "parallels/centos-7.2"
Expand Down
2 changes: 1 addition & 1 deletion icinga2x/Vagrantfile
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|

# workaround for Vagrant >1.8.4-1.9.1 not bringing up eth1 properly
# https://github.com/mitchellh/vagrant/issues/8096
app_config.vm.provision "shell", inline: "ifup eth1", run: "always"
app_config.vm.provision "shell", inline: "service network restart", run: "always"

# parallels
app_config.vm.provider :parallels do |p, override|
Expand Down

0 comments on commit a8908db

Please sign in to comment.