[Ovirt-devel] [PATCH node] Fixes when the user aborts DNS entry then retries it.

Joey Boggs jboggs at redhat.com
Thu Aug 20 13:53:35 UTC 2009


Darryl L. Pierce wrote:
> Previously the code did not empty the $DNS variable when the user said
> the configuration was incorrect. Now, when they say it's incorrect, the
> variable is blanked.
>
> Resolves: rhbz#518021
>
> Signed-off-by: Darryl L. Pierce <dpierce at redhat.com>
> ---
>  scripts/ovirt-config-networking |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/scripts/ovirt-config-networking b/scripts/ovirt-config-networking
> index e114538..7d4e363 100755
> --- a/scripts/ovirt-config-networking
> +++ b/scripts/ovirt-config-networking
> @@ -343,7 +343,7 @@ function configure_dns
>                  ask_yes_or_no "Is this correct ([Y]es/[N]o/[A]bort)?" true true
>                  case $? in
>                      0) break ;;
> -                    1) ;;
> +                    1) DNS="";;
>                      2) return ;;
>                  esac
>              done
>   
ACK




More information about the ovirt-devel mailing list