summaryrefslogtreecommitdiffstats
path: root/utils/infra_setup/vm_dev_setup
diff options
context:
space:
mode:
authorQiLiang <liangqi1@huawei.com>2015-12-31 07:45:51 +0000
committerQiLiang <liangqi1@huawei.com>2015-12-31 07:45:51 +0000
commit9e0fdbac6e08d0f0e7b17f929725c2e2636599d6 (patch)
tree72ec12167793ed23599f09ab4f5206aa1cb3611d /utils/infra_setup/vm_dev_setup
parentf46936dd3c84eaec10b21fd1055acb6897da7fc9 (diff)
Update stack creation status check
JIRA: BOTTLENECK-33 Change-Id: I8e7bec07ae100cb24dd099b08a195801731a90c5 Signed-off-by: QiLiang <liangqi1@huawei.com>
Diffstat (limited to 'utils/infra_setup/vm_dev_setup')
-rwxr-xr-xutils/infra_setup/vm_dev_setup/setup_env.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/utils/infra_setup/vm_dev_setup/setup_env.sh b/utils/infra_setup/vm_dev_setup/setup_env.sh
index 5b45de45..fa59dc47 100755
--- a/utils/infra_setup/vm_dev_setup/setup_env.sh
+++ b/utils/infra_setup/vm_dev_setup/setup_env.sh
@@ -5,6 +5,7 @@ set -ex
bottlenecks_prepare_env()
{
echo "Bottlenecks: install preinstall packages in VM"
+ sudo apt-get update
for i in $PreInstall_Packages; do
if ! apt --installed list 2>/dev/null |grep "\<$i\>"