Sha256: c17c0a75dd7f246c74dbb71880242bd3fbf5c49137e0e8dd28fff65afeaa2fb9
Contents?: true
Size: 689 Bytes
Versions: 11
Compression:
Stored size: 689 Bytes
Contents
# Set up Vagrant. date > /etc/vagrant_box_build_time # Add groups puppet and chef groupadd puppet groupadd chef # Create the user vagrant with password vagrant useradd -G sudo -p $(perl -e'print crypt("vagrant", "vagrant")') -m -s /bin/bash -N vagrant # Install vagrant keys mkdir -pm 700 /home/vagrant/.ssh curl -fLo /home/vagrant/.ssh/authorized_keys \ 'https://raw.github.com/mitchellh/vagrant/master/keys/vagrant.pub' || exit $? chmod 0600 /home/vagrant/.ssh/authorized_keys chown -R vagrant:vagrant /home/vagrant/.ssh # Customize the message of the day echo 'Welcome to your Vagrant-built virtual machine.' > /var/run/motd # Install NFS client apt-get -y install nfs-common
Version data entries
11 entries across 11 versions & 1 rubygems