This is an automated email from the ASF dual-hosted git repository.
omartushevskyi pushed a commit to branch EPMCDLAB-1186
in repository https://gitbox.apache.org/repos/asf/incubator-dlab.git
The following commit(s) were added to refs/heads/EPMCDLAB-1186 by this push:
new a4636e0 debugging
a4636e0 is described below
commit a4636e0befc3f327f9fa139cdb8bcc7ebdd3fe57
Author: Oleh Martushevskyi <[email protected]>
AuthorDate: Thu Mar 28 17:53:52 2019 +0200
debugging
---
infrastructure-provisioning/src/general/lib/os/debian/common_lib.py | 1 +
1 file changed, 1 insertion(+)
diff --git
a/infrastructure-provisioning/src/general/lib/os/debian/common_lib.py
b/infrastructure-provisioning/src/general/lib/os/debian/common_lib.py
index e2c88f8..55fe771 100644
--- a/infrastructure-provisioning/src/general/lib/os/debian/common_lib.py
+++ b/infrastructure-provisioning/src/general/lib/os/debian/common_lib.py
@@ -66,6 +66,7 @@ def renew_gpg_key():
def update_apt_repository_configuration(repository_host=''):
if not exists('/tmp/apt_conf_update_ensured'):
+ sudo('echo "apt_preserve_sources_list: true" >> /etc/cloud/cloud.cfg')
put('/root/files/sources.list', '/tmp/sources.list')
sudo('mv /tmp/sources.list /etc/apt/sources.list')
if os.environ['local_repository_enabled'] == 'True':
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]