[node-patches] Change in ovirt-node[ovirt-3.5]: persisting the ssh fingerprint keys

fabiand at redhat.com fabiand at redhat.com
Thu Jul 30 16:15:14 UTC 2015


Hello Anatoly Litovsky,

I'd like you to do a code review.  Please visit

    https://gerrit.ovirt.org/44210

to review the following change.

Change subject: persisting the ssh fingerprint keys
......................................................................

persisting the ssh fingerprint keys

Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=1248372

Change-Id: I8b7e2b1a775f2c59fc7b40a8078a3c6eadf84855
Signed-off-by: Tolik Litovsky <tlitovsk at redhat.com>
---
M scripts/ovirt-init-functions.sh.in
1 file changed, 3 insertions(+), 2 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-node refs/changes/10/44210/1

diff --git a/scripts/ovirt-init-functions.sh.in b/scripts/ovirt-init-functions.sh.in
index 5bd452c..c0bbd2c 100644
--- a/scripts/ovirt-init-functions.sh.in
+++ b/scripts/ovirt-init-functions.sh.in
@@ -1484,6 +1484,8 @@
             done
         fi
 
+        ovirt_store_config $(ls /etc/ssh_host*_key*)
+
         # FIXME is this still needed?
         if is_standalone; then
             return 0
@@ -1491,8 +1493,7 @@
 
         # persist selected configuration files
         ovirt_store_config \
-            /etc/node.d \
-            /etc/ssh/ssh_host*_key*
+            /etc/node.d
 
         . /usr/libexec/ovirt-functions
 


-- 
To view, visit https://gerrit.ovirt.org/44210
To unsubscribe, visit https://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I8b7e2b1a775f2c59fc7b40a8078a3c6eadf84855
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-node
Gerrit-Branch: ovirt-3.5
Gerrit-Owner: Fabian Deutsch <fabiand at redhat.com>
Gerrit-Reviewer: Anatoly Litovsky <tlitovsk at redhat.com>



More information about the node-patches mailing list