[Ovirt-devel] [PATCH node 3/3] correct reboot function in ovirt-functions. Machines installed w/o ovirt_iscsi_enabled="y" would not have the "ROOT" partition file system renamed on install/reboot
Mike Burns
mburns at redhat.com
Thu Apr 1 03:11:24 UTC 2010
On Wed, 2010-03-31 at 22:51 -0400, Mike Burns wrote:
> On Wed, 2010-03-31 at 22:20 -0400, Joey Boggs wrote:
> > ---
> > scripts/ovirt-functions | 2 +-
> > 1 files changed, 1 insertions(+), 1 deletions(-)
> >
> > diff --git a/scripts/ovirt-functions b/scripts/ovirt-functions
> > index d8aa008..e79fcd8 100644
> > --- a/scripts/ovirt-functions
> > +++ b/scripts/ovirt-functions
> > @@ -716,7 +716,7 @@ lvremove() {
> > # cleanup before reboot
> > reboot() {
> > cd /
> > - if [ "$OVIRT_ISCSI_ENABLED" = "yes" ]; then
> > + if [ "$OVIRT_ISCSI_ENABLED" != "y" ]; then
> > # setup new Root if update is prepared
> > if findfs LABEL=RootUpdate 2>&1 >/dev/null; then
> > root_update_dev=$(findfs LABEL=RootUpdate 2>/dev/null)
>
>
> ACK - thought this was fixed already
>
Well...needs to be rebased, but still ACK. Missing "" on last line
root_update_dev="$(findfs LABEL=RootUpdate 2>/dev/null)"
> _______________________________________________
> Ovirt-devel mailing list
> Ovirt-devel at redhat.com
> https://www.redhat.com/mailman/listinfo/ovirt-devel
More information about the ovirt-devel
mailing list