[node-patches] Change in ovirt-node[master]: rhn_check in ovirt-post to update RHN on boot

fabiand at redhat.com fabiand at redhat.com
Fri Jul 18 15:48:52 UTC 2014


Fabian Deutsch has uploaded a new change for review.

Change subject: rhn_check in ovirt-post to update RHN on boot
......................................................................

rhn_check in ovirt-post to update RHN on boot

rhbz#980815
Change-Id: If373a4cff004dbc4e1e6884aac696eba2a2610b5
Signed-off-by: Fabian Deutsch <fabiand at fedoraproject.org>
---
M scripts/ovirt-init-functions.sh.in
1 file changed, 3 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-node refs/changes/54/30454/1

diff --git a/scripts/ovirt-init-functions.sh.in b/scripts/ovirt-init-functions.sh.in
index 36c691f..64fde10 100644
--- a/scripts/ovirt-init-functions.sh.in
+++ b/scripts/ovirt-init-functions.sh.in
@@ -1351,6 +1351,9 @@
         swapon -a
         mount -a
 
+        # force update rhn profile on boot for upgrades
+        rhn_check
+
         # Synchronize logs
         log "Synchronizing log files"
         logsync_TMPDIR=$(mktemp -d)


-- 
To view, visit http://gerrit.ovirt.org/30454
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: If373a4cff004dbc4e1e6884aac696eba2a2610b5
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-node
Gerrit-Branch: master
Gerrit-Owner: Fabian Deutsch <fabiand at redhat.com>
Gerrit-Reviewer: Joey Boggs <jboggs at redhat.com>



More information about the node-patches mailing list