You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dlab.apache.org by dm...@apache.org on 2019/11/05 13:48:01 UTC

[incubator-dlab] 01/01: [DLAB-1237] Added AMI parameters to ssn_configure script

This is an automated email from the ASF dual-hosted git repository.

dmysakovets pushed a commit to branch DLAB-1237
in repository https://gitbox.apache.org/repos/asf/incubator-dlab.git

commit 7bf9cde38203f09f015b3e85f2661c6b32c08cd6
Author: Demyan Mysakovets <de...@gmail.com>
AuthorDate: Tue Nov 5 15:47:41 2019 +0200

    [DLAB-1237] Added AMI parameters to ssn_configure script
---
 .../src/general/scripts/aws/ssn_configure.py                      | 8 ++++++++
 .../src/general/scripts/azure/ssn_configure.py                    | 8 ++++++++
 .../src/general/scripts/gcp/ssn_configure.py                      | 8 ++++++++
 3 files changed, 24 insertions(+)

diff --git a/infrastructure-provisioning/src/general/scripts/aws/ssn_configure.py b/infrastructure-provisioning/src/general/scripts/aws/ssn_configure.py
index 97aee88..9cdabe9 100644
--- a/infrastructure-provisioning/src/general/scripts/aws/ssn_configure.py
+++ b/infrastructure-provisioning/src/general/scripts/aws/ssn_configure.py
@@ -446,6 +446,14 @@ if __name__ == "__main__":
             {
                 'key': 'AZURE_CLIENT_ID',
                 'value': ''
+            },
+            {
+                'key': 'IMAGE_ENABLED',
+                'value': os.environ['conf_image_enabled']
+            },
+            {
+                'key': 'SHARED_IMAGE_ENABLED',
+                'value': os.environ['conf_shared_image_enabled']
             }
         ]
         if os.environ['conf_duo_vpc_enable'] == 'true':
diff --git a/infrastructure-provisioning/src/general/scripts/azure/ssn_configure.py b/infrastructure-provisioning/src/general/scripts/azure/ssn_configure.py
index 3a840a6..1e5bdc6 100644
--- a/infrastructure-provisioning/src/general/scripts/azure/ssn_configure.py
+++ b/infrastructure-provisioning/src/general/scripts/azure/ssn_configure.py
@@ -308,6 +308,14 @@ if __name__ == "__main__":
             {
                 'key': 'PEERING_ID',
                 'value': ''
+            },
+            {
+                'key': 'IMAGE_ENABLED',
+                'value': os.environ['conf_image_enabled']
+            },
+            {
+                'key': 'SHARED_IMAGE_ENABLED',
+                'value': os.environ['conf_shared_image_enabled']
             }
         ]
 
diff --git a/infrastructure-provisioning/src/general/scripts/gcp/ssn_configure.py b/infrastructure-provisioning/src/general/scripts/gcp/ssn_configure.py
index 0a0ef24..9af4f4c 100644
--- a/infrastructure-provisioning/src/general/scripts/gcp/ssn_configure.py
+++ b/infrastructure-provisioning/src/general/scripts/gcp/ssn_configure.py
@@ -379,6 +379,14 @@ if __name__ == "__main__":
             {
                 'key': 'PEERING_ID',
                 'value': ''
+            },
+            {
+                'key': 'IMAGE_ENABLED',
+                'value': os.environ['conf_image_enabled']
+            },
+            {
+                'key': 'SHARED_IMAGE_ENABLED',
+                'value': os.environ['conf_shared_image_enabled']
             }
         ]
         params = "--hostname {} --keyfile {} --dlab_path {} --os_user {} --os_family {} --billing_enabled {} " \


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@dlab.apache.org
For additional commands, e-mail: commits-help@dlab.apache.org