Skip to content

Commit ff668cd

Browse files
committed
Added parameters for deploy command
1 parent 387a28d commit ff668cd

File tree

3 files changed

+7
-3
lines changed

3 files changed

+7
-3
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ COMMANDS:
3333
-x - dump of the current configuration
3434
-l - list of dependencies for the specified or are connected components
3535
-a - list of all components without check compatibility
36-
deploy [...] [-n NAME] [NAME ...] - install the distribution and included components
36+
deploy [...] [PARAMETERS] [-n NAME] [NAME ...] - install the distribution and included components
3737
-m - mount the container before deployment
3838
-i - install without configure
3939
-c - configure without install

cli.sh

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1026,7 +1026,7 @@ COMMANDS:
10261026
-x - dump of the current configuration
10271027
-l - list of dependencies for the specified or are connected components
10281028
-a - list of all components without check compatibility
1029-
deploy [...] [-n NAME] [NAME ...] - install the distribution and included components
1029+
deploy [...] [PARAMETERS] [-n NAME] [NAME ...] - install the distribution and included components
10301030
-m - mount the container before deployment
10311031
-i - install without configure
10321032
-c - configure without install
@@ -1235,6 +1235,10 @@ deploy)
12351235
done
12361236
shift $((OPTIND-1))
12371237
1238+
# parse parameters
1239+
params_parse "$@"
1240+
shift $((OPTIND-1))
1241+
12381242
if [ "${mount_flag}" = "true" ]; then
12391243
container_mount || exit 1
12401244
fi

make_rootfs.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ do
1313
tgz_file="${EXTERNAL_STORAGE}/${cfg_name}.tgz"
1414
[ ! -e "${tgz_file}" ] || continue
1515
(set -e
16-
./cli.sh -d -p "${cfg_name}" deploy
16+
./cli.sh -d -p "${cfg_name}" deploy --source-path=""
1717
./cli.sh -d -p "${cfg_name}" export "${tgz_file}"
1818
./cli.sh -d -p "${cfg_name}" umount
1919
exit 0)

0 commit comments

Comments
 (0)