Sha256: 0d47335f458a5851ea824c64e7034c78e3cfed776efaf877a9a6cff85017f861

Contents?: true

Size: 883 Bytes

Versions: 16

Compression:

Stored size: 883 Bytes

Contents

#
# postinstall.sh
#

date > /etc/vagrant_box_build_time

# remove zypper package locks
rm -f /etc/zypp/locks

# install required packages
packages=( gcc-c++ less make bison libtool ruby-devel vim )
zypper --non-interactive install --no-recommends --force-resolution ${packages[@]}

# install vagrant key
mkdir -pm 700 /home/vagrant/.ssh
curl -Lo /home/vagrant/.ssh/authorized_keys 'https://raw.github.com/mitchellh/vagrant/master/keys/vagrant.pub'
chmod 0600 /home/vagrant/.ssh/authorized_keys
chown -R vagrant: /home/vagrant/.ssh

# set vagrant sudo
printf "%b" "
# added by veewee/postinstall.sh
vagrant ALL=(ALL) NOPASSWD: ALL
" >> /etc/sudoers

# speed-up remote logins
printf "%b" "
# added by veewee/postinstall.sh
UseDNS no
" >> /etc/ssh/sshd_config

# disable gem docs
echo "gem: --no-ri --no-rdoc" >/etc/gemrc

# install chef and puppet
gem install chef
gem install puppet

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
veewee-0.5.0.alpha4 templates/openSUSE-12.3/postinstall.sh
veewee-0.5.0.alpha3 templates/openSUSE-12.3/postinstall.sh
veewee-0.5.0.alpha2 templates/openSUSE-12.3/postinstall.sh
veewee-0.5.0.alpha1 templates/openSUSE-12.3/postinstall.sh
veewee-0.4.5.1 templates/openSUSE-12.3-x86_64-NET_EN/postinstall.sh
veewee-0.4.5 templates/openSUSE-12.3-x86_64-NET_EN/postinstall.sh
veewee-0.4.5.pre1 templates/openSUSE-12.3-x86_64-NET_EN/postinstall.sh
veewee-0.4.4 templates/openSUSE-12.3-x86_64-NET_EN/postinstall.sh
veewee-0.4.3 templates/openSUSE-12.3-x86_64-NET_EN/postinstall.sh
veewee-0.4.2 templates/openSUSE-12.3-x86_64-NET_EN/postinstall.sh
veewee-0.4.1 templates/openSUSE-12.3-x86_64-NET_EN/postinstall.sh
veewee-0.4.0 templates/openSUSE-12.3-x86_64-NET_EN/postinstall.sh
veewee-0.3.12 templates/openSUSE-12.3-x86_64-NET_EN/postinstall.sh
veewee-0.3.11 templates/openSUSE-12.3-x86_64-NET_EN/postinstall.sh
veewee-0.3.10 templates/openSUSE-12.3-x86_64-NET_EN/postinstall.sh
veewee-0.3.9 templates/openSUSE-12.3-x86_64-NET_EN/postinstall.sh