Modified Vagrantfile to remove sudo from the installation process
Included -a option to encapsulate -emfrti to install all dependencies
Change-Id: Ief864f4c7c69a80cfc47fc1ef195a2842c11011d
refs: #4423, #4404
diff --git a/install.sh b/install.sh
index ecf0d0f..f65ac0d 100755
--- a/install.sh
+++ b/install.sh
@@ -220,9 +220,10 @@
}
function usage {
- printf '\nUsage: %s [-mfrti]\n\n' $(basename $0) >&2
+ printf '\nUsage: %s [-a]\n\n' $(basename $0) >&2
printf 'options:\n' >&2
+ printf -- ' -a: install all the required dependencies\n' >&2
printf -- ' -e: install infoedit\n' >&2
printf -- ' -f: install NFD\n' >&2
printf -- ' -i: install mini-ndn\n' >&2
@@ -235,9 +236,18 @@
if [[ $# -eq 0 ]]; then
usage
else
- while getopts 'emfrti' OPTION
+ while getopts 'aemfrti' OPTION
do
case $OPTION in
+ a)
+ infoedit
+ forwarder
+ minindn
+ mininet
+ routing
+ tools
+ break
+ ;;
e) infoedit;;
f) forwarder;;
i) minindn;;