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

lfrolov pushed a commit to branch DATALAB-2712
in repository https://gitbox.apache.org/repos/asf/incubator-datalab.git

commit 390ea93072f53b8e5c34a9458a2744311c30d886
Author: leonidfrolov <[email protected]>
AuthorDate: Mon Apr 11 14:19:05 2022 +0300

    [DATALAB-2712]: removed os login for notebook instances without public ips
---
 .../src/general/scripts/gcp/common_prepare_notebook.py                  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/infrastructure-provisioning/src/general/scripts/gcp/common_prepare_notebook.py
 
b/infrastructure-provisioning/src/general/scripts/gcp/common_prepare_notebook.py
index 814a22789..17c2ad4c5 100644
--- 
a/infrastructure-provisioning/src/general/scripts/gcp/common_prepare_notebook.py
+++ 
b/infrastructure-provisioning/src/general/scripts/gcp/common_prepare_notebook.py
@@ -201,7 +201,7 @@ if __name__ == "__main__":
                  "--ssh_key_path {6} --initial_user {7} --service_account_name 
{8} --image_name {9} " \
                  "--secondary_image_name {10} --instance_class {11} 
--primary_disk_size {12} " \
                  "--secondary_disk_size {13} --gpu_accelerator_type {14} 
--gpu_accelerator_count {15} " \
-                 "--network_tag {16} --labels '{17}' --service_base_name {18} 
--os_login_enabled {19} " \
+                 "--network_tag {16} --labels '{17}' --service_base_name {18} 
--os_login_enabled FALSE " \
                  "--block_project_ssh_keys {20} --rsa_encrypted_csek '{21}'".\
             format(notebook_config['instance_name'], 
notebook_config['region'], notebook_config['zone'],
                    notebook_config['vpc_name'], 
notebook_config['subnet_name'], notebook_config['instance_size'],


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to