[node-patches] Change in ovirt-node[master]: Try to fix bz#1003489

hadong0720 at gmail.com hadong0720 at gmail.com
Tue Sep 24 11:05:56 UTC 2013


hadong has uploaded a new change for review.

Change subject: Try to fix bz#1003489
......................................................................

Try to fix bz#1003489

Change-Id: I81ca05ab4e714f002f519eed7a2c4bf4828406a4
Signed-off-by: hadong <hadong0720 at gmail.com>
---
M scripts/ovirt-init-functions.sh.in
1 file changed, 2 insertions(+), 2 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-node refs/changes/11/19511/1

diff --git a/scripts/ovirt-init-functions.sh.in b/scripts/ovirt-init-functions.sh.in
index 48d70fa..8ab95c7 100644
--- a/scripts/ovirt-init-functions.sh.in
+++ b/scripts/ovirt-init-functions.sh.in
@@ -1283,8 +1283,8 @@
         log "Synchronizing log files"
         logsync_TMPDIR=$(mktemp -d)
         mkdir -p ${logsync_TMPDIR}/{squash,ext3}
-        mount /dev/.initramfs/live/LiveOS/squashfs.img ${logsync_TMPDIR}/squash
-        mount ${logsync_TMPDIR}/squash/LiveOS/ext3fs.img ${logsync_TMPDIR}/ext3
+        mount -o loop /dev/.initramfs/live/LiveOS/squashfs.img ${logsync_TMPDIR}/squash
+        mount -o loop ${logsync_TMPDIR}/squash/LiveOS/ext3fs.img ${logsync_TMPDIR}/ext3
         python << EOP
 from ovirt.node.utils.system import copy_dir_if_not_exist
 copy_dir_if_not_exist("${logsync_TMPDIR}/ext3/var/log", "/var/log")


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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I81ca05ab4e714f002f519eed7a2c4bf4828406a4
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-node
Gerrit-Branch: master
Gerrit-Owner: hadong <hadong0720 at gmail.com>



More information about the node-patches mailing list