-
Notifications
You must be signed in to change notification settings - Fork 36
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update packer config to use latest CentOS
- Loading branch information
1 parent
b1eeec5
commit 5050549
Showing
6 changed files
with
15 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
sed -i "s/^.*requiretty/#Defaults requiretty/" /etc/sudoers | ||
yum install -y epel-release ntp git | ||
yum update -y | ||
systemctl enable ntpd | ||
systemctl start ntpd |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
yum install -y epel-release | ||
yum install -y python-pip | ||
pip install ceph-deploy | ||
ceph-deploy install --all --release jewel localhost | ||
ceph-deploy install --all --release kraken localhost | ||
chown vagrant:vagrant ~vagrant/ceph-deploy-ceph.log |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
VBOX_VERSION=$(cat /home/vagrant/.vbox_version) | ||
|
||
# required for VirtualBox 4.3.26 | ||
yum install -y bzip2 | ||
yum install -y kernel-devel kernel-headers make gcc | ||
|
||
ln -s /usr/include/linux/version.h /lib/modules/$(uname -r)/build/include/linux/ | ||
|
||
cd /tmp | ||
mount -o loop /home/vagrant/VBoxGuestAdditions_$VBOX_VERSION.iso /mnt | ||
sh /mnt/VBoxLinuxAdditions.run | ||
umount /mnt | ||
rm -rf /home/vagrant/VBoxGuestAdditions_*.iso | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters