[Ovirt-devel] [PATCH node] change working directory before reboot
Darryl L. Pierce
dpierce at redhat.com
Wed Apr 8 20:05:51 UTC 2009
On Wed, Apr 08, 2009 at 10:00:49PM +0200, Alan Pevec wrote:
> 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
>
> _______________________________________________
> Ovirt-devel mailing list
> Ovirt-devel at redhat.com
> https://www.redhat.com/mailman/listinfo/ovirt-devel
ACK.
--
Darryl L. Pierce, Sr. Software Engineer @ Red Hat, Inc.
Virtual Machine Management - http://www.ovirt.org/
Is fearr Gaeilge bhriste ná Béarla cliste.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/ovirt-devel/attachments/20090408/f611bff6/attachment.sig>
More information about the ovirt-devel
mailing list