[Ovirt-devel] [PATCH node] change working directory before reboot
Alan Pevec
apevec at redhat.com
Wed Apr 8 20:00:49 UTC 2009
to avoid "error retrieving current directory" in the upgrade logs
Signed-off-by: Alan Pevec <apevec at redhat.com>
---
scripts/ovirt-functions | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/scripts/ovirt-functions b/scripts/ovirt-functions
index a3991c0..018cd84 100755
--- a/scripts/ovirt-functions
+++ b/scripts/ovirt-functions
@@ -559,6 +559,7 @@ lvremove() {
# reboot wrapper
# cleanup before reboot
reboot() {
+ cd /
# setup new Root if update is prepared
if [ -e /dev/HostVG/RootUpdate ]; then
lvrename HostVG Root RootBackup
--
1.6.0.6
More information about the ovirt-devel
mailing list