This is an automated email from the ASF dual-hosted git repository.
bhliva pushed a commit to branch v2.1-RC2
in repository https://gitbox.apache.org/repos/asf/incubator-dlab.git
The following commit(s) were added to refs/heads/v2.1-RC2 by this push:
new b67bb9f [DLAB-390] Fix for gcp entropy bug
new 2e16205 Merge pull request #38 from Dyoma33/DLAB-390
b67bb9f is described below
commit b67bb9f6a80007c78757d4b540926de02130efbd
Author: Dyoma33 <[email protected]>
AuthorDate: Thu Mar 14 19:10:17 2019 +0200
[DLAB-390] Fix for gcp entropy bug
---
infrastructure-provisioning/src/general/lib/os/debian/common_lib.py | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
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 de63d4c..131c125 100644
--- a/infrastructure-provisioning/src/general/lib/os/debian/common_lib.py
+++ b/infrastructure-provisioning/src/general/lib/os/debian/common_lib.py
@@ -29,7 +29,7 @@ import sys
def ensure_pkg(user, requisites='linux-headers-generic python-pip python-dev '
'groff gcc vim less git wget sysv-rc-conf '
'libssl-dev unattended-upgrades nmap '
- 'libffi-dev unzip libxml2-dev'):
+ 'libffi-dev unzip libxml2-dev haveged'):
try:
if not exists('/home/{}/.ensure_dir/pkg_upgraded'.format(user)):
print("Updating repositories "
@@ -39,6 +39,8 @@ def ensure_pkg(user, requisites='linux-headers-generic
python-pip python-dev '
sudo('unattended-upgrades -v')
sudo('export LC_ALL=C')
sudo('touch /home/{}/.ensure_dir/pkg_upgraded'.format(user))
+ sudo('systemctl enable haveged')
+ sudo('systemctl start haveged')
except:
sys.exit(1)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]