Skip to content

Instantly share code, notes, and snippets.

@Krucamper
Created September 16, 2018 14:03
Show Gist options
  • Save Krucamper/e0612737213868cb2a6e569aa39c2e33 to your computer and use it in GitHub Desktop.
Save Krucamper/e0612737213868cb2a6e569aa39c2e33 to your computer and use it in GitHub Desktop.
How To Use Vagrant Provision
config.vm.provision "dev-tools", inline: "Provisioning Developer Tools."
echo "--- install devtools ---"
if ( which htop > /dev/null )
then
echo "--- htop done ---"
else
echo "--- install htop ---";
apt-get -y install htop
fi
if ( which vim > /dev/null )
then
echo "--- vim done ---"
else
echo "--- install vim ---";
apt-get -y install vim
fi
if ( which git > /dev/null )
then
echo "--- git done ---"
else
echo "--- install git ---";
apt-get -y install git
fi
if ( which curl > /dev/null )
then
echo "--- curl done ---"
else
echo "--- install curl ---";
apt-get -y install curl
fi
echo "--- install completed ---"
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment