Sha256: 70fa98f6d4f391c88c009afe12e3a5fdaaac7c6d2432729879102ea09fa3d87e
Contents?: true
Size: 983 Bytes
Versions: 8
Compression:
Stored size: 983 Bytes
Contents
#http://chrisadams.me.uk/2010/05/10/setting-up-a-centos-base-box-for-development-and-testing-with-vagrant/ date > /etc/vagrant_box_build_time yum -y erase gtk2 libX11 hicolor-icon-theme avahi freetype bitstream-vera-fonts yum -y clean all gem install --no-ri --no-rdoc chef # Installing vagrant keys mkdir /home/vagrant/.ssh chmod 700 /home/vagrant/.ssh cd /home/vagrant/.ssh wget --no-check-certificate 'http://github.com/mitchellh/vagrant/raw/master/keys/vagrant.pub' -O authorized_keys chown -R vagrant /home/vagrant/.ssh # Installing the virtualbox guest additions VBOX_VERSION=$(cat /home/vagrant/.vbox_version) cd /tmp wget http://download.virtualbox.org/virtualbox/$VBOX_VERSION/VBoxGuestAdditions_$VBOX_VERSION.iso mount -o loop VBoxGuestAdditions_$VBOX_VERSION.iso /mnt sh /mnt/VBoxLinuxAdditions.run umount /mnt rm VBoxGuestAdditions_$VBOX_VERSION.iso sed -i "s/^.*requiretty/#Defaults requiretty/" /etc/sudoers dd if=/dev/zero of=/tmp/clean || rm /tmp/clean exit
Version data entries
8 entries across 4 versions & 1 rubygems