Fix Vagrant bootstrap script.

This commit is contained in:
Gunnar Beutner 2013-10-10 17:54:25 +02:00
parent 6da65a6fd6
commit 744a07ff48
2 changed files with 4 additions and 1 deletions

3
.gitignore vendored
View File

@ -42,4 +42,5 @@ m4/ylwrap
m4/test-driver
icinga2-*.tar.gz
icinga2.spec
packages
packages
.vagrant

View File

@ -2,6 +2,8 @@
sed -i 's/^HOSTNAME=.*/HOSTNAME=icinga-demo.icinga.org/' /etc/sysconfig/network
hostname icinga-demo.icinga.org
yum install -y wget
rpm --import http://packages.icinga.org/icinga.key
wget http://packages.icinga.org/epel/6/snapshot/ICINGA-snapshot.repo -O /etc/yum.repos.d/ICINGA-snapshot.repo
yum makecache