Add option to install cbench aka oflops
This commit is contained in:
+3
-1
@@ -345,6 +345,7 @@ function usage {
|
|||||||
|
|
||||||
printf 'options:\n' >&2
|
printf 'options:\n' >&2
|
||||||
printf -- ' -a: (default) install (A)ll packages - good luck!\n' >&2
|
printf -- ' -a: (default) install (A)ll packages - good luck!\n' >&2
|
||||||
|
printf -- ' -b: install controller (B)enchmark (oflops)\n' >&2
|
||||||
printf -- ' -c: (C)lean up after kernel install\n' >&2
|
printf -- ' -c: (C)lean up after kernel install\n' >&2
|
||||||
printf -- ' -d: (D)elete some sensitive files from a VM image\n' >&2
|
printf -- ' -d: (D)elete some sensitive files from a VM image\n' >&2
|
||||||
printf -- ' -f: install open(F)low\n' >&2
|
printf -- ' -f: install open(F)low\n' >&2
|
||||||
@@ -364,10 +365,11 @@ if [ $# -eq 0 ]
|
|||||||
then
|
then
|
||||||
all
|
all
|
||||||
else
|
else
|
||||||
while getopts 'acdfhkmntvx' OPTION
|
while getopts 'abcdfhkmntvx' OPTION
|
||||||
do
|
do
|
||||||
case $OPTION in
|
case $OPTION in
|
||||||
a) all;;
|
a) all;;
|
||||||
|
b) cbench;;
|
||||||
c) kernel_clean;;
|
c) kernel_clean;;
|
||||||
d) vm_clean;;
|
d) vm_clean;;
|
||||||
f) of;;
|
f) of;;
|
||||||
|
|||||||
Reference in New Issue
Block a user