[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [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



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


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]