diff options
author | Gary Wu <gary.i.wu@huawei.com> | 2017-09-29 03:37:47 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2017-09-29 03:37:47 +0000 |
commit | 53ef8bc5b456d4f9b157f84252202757771e5d2d (patch) | |
tree | 574f3ea939db3f00cbb8931d7c383f7b4a30da30 /bootstrap/vagrant-onap/tools/Run.ps1 | |
parent | 8534458b0fe4e9e87dad0e2c92ac17d989054403 (diff) | |
parent | 6a919971cef56b9102dc358014006985d7eaba5b (diff) |
Merge "Add support to configuration values"
Diffstat (limited to 'bootstrap/vagrant-onap/tools/Run.ps1')
-rw-r--r-- | bootstrap/vagrant-onap/tools/Run.ps1 | 21 |
1 files changed, 20 insertions, 1 deletions
diff --git a/bootstrap/vagrant-onap/tools/Run.ps1 b/bootstrap/vagrant-onap/tools/Run.ps1 index 8e6c94fa7..71e595bd8 100644 --- a/bootstrap/vagrant-onap/tools/Run.ps1 +++ b/bootstrap/vagrant-onap/tools/Run.ps1 @@ -20,6 +20,12 @@ Test case to use in testing mode. .PARAMETER y Skips warning prompt. +.PARAMETER g +Skips creation or retrieve image process. + +.PARAMETER i +Skips installation service process. + .LINK https://wiki.onap.org/display/DW/ONAP+on+Vagrant #> @@ -44,7 +50,17 @@ Param( [Parameter(Mandatory=$False,HelpMessage="Skips warning prompt.")] [AllowNull()] [Switch] - $y = $false + $y = $True +, + [Parameter(Mandatory=$False,HelpMessage="Skips creation or retrieve image process.")] + [AllowNull()] + [Switch] + $skip_get_images = $True +, + [Parameter(Mandatory=$False,HelpMessage="Skips warning prompt.")] + [AllowNull()] + [Switch] + $skip_install = $True ) if ( -Not "testing".Equals($Command) ) @@ -63,6 +79,9 @@ if ( -Not "testing".Equals($Command) ) } } +$env:SKIP_GET_IMAGES=$skip_get_images +$env:SKIP_INSTALL=$skip_install + switch ($Command) { "all_in_one" { $env:DEPLOY_MODE="all-in-one" } |