Sha256: 8d689c7f7d0e1ed5cbd949283f462a1fbd23a8d14ff1662ffb93aa22022b41d5
Contents?: true
Size: 1.37 KB
Versions: 32
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.154p2-no_x11 rsync-3.0.9p2 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
32 entries across 16 versions & 1 rubygems