Funciones útiles en bash para deployar con Vagrant:
oe() { "$@" 2>&1 | logger -t "${PROJECT}" > /dev/null; }
ol() { echo "[${PROJECT_LOG}] $@"; }
...
ol 'Updating repository caches'
oe sudo apt-get -q -y update
...
http://stackoverflow.com/q/36787764/740552
oe() { "$@" 2>&1 | logger -t "${PROJECT}" > /dev/null; }
ol() { echo "[${PROJECT_LOG}] $@"; }
...
ol 'Updating repository caches'
oe sudo apt-get -q -y update
...