Sha256: 2e803bcdd28de908213386f96989eef05d8bb86d8ab34e08ad7e013e276fadb0
Contents?: true
Size: 1.37 KB
Versions: 24
Compression:
Stored size: 1.37 KB
Contents
# set pkg path for users echo " " echo " Setting PKG_PATH for users " echo " " echo " export PKG_PATH=http://ftp3.usa.openbsd.org/pub/OpenBSD/`uname -r`/packages/`arch -s`/ " >> /root/.profile echo " export PKG_PATH=http://ftp3.usa.openbsd.org/pub/OpenBSD/`uname -r`/packages/`arch -s`/ ">> /home/vagrant/.profile # install wget/curl/bash/vim and its dependencies echo " " echo " Installing needed packages " echo " " export PKG_PATH=http://ftp3.usa.openbsd.org/pub/OpenBSD/`uname -r`/packages/`arch -s`/ pkg_add wget curl bash vim-7.3.850-no_x11 rsync-3.0.9p3 bzip2 ngrep # giving root & vagrant bash as shell echo " " echo " Giving root/vagrant bash as a shell " echo " " usermod -s /usr/local/bin/bash vagrant usermod -s /usr/local/bin/bash root # sudo # Defaults requiretty is not present in the sudoers file # env_keep I'll leave it as it is since user's path is same or more comprehensive than root's path echo " " echo " Setting sudo to work with vagrant " echo " " echo "# Uncomment to allow people in group wheel to run all commands without a password" >> /etc/sudoers echo "%wheel ALL=(ALL) NOPASSWD: SETENV: ALL" >> /etc/sudoers /etc/rc.d/sendmail stop # install the ports system for who wants to use it echo " " echo " Installing the ports system ! " echo " " cd /tmp wget http://ftp3.usa.openbsd.org/pub/OpenBSD/`uname -r`/ports.tar.gz cd /usr sudo tar xzf /tmp/ports.tar.gz
Version data entries
24 entries across 12 versions & 1 rubygems