[PATCH 6/9] Remove the iscsi and noiscsi options

David Lehman dlehman at redhat.com
Mon Jun 9 16:40:52 UTC 2014


On 06/09/2014 11:26 AM, Martin Kolman wrote:
> They only set the iscsi flag which is not used anywhere.

Blivet picks up the flag and uses it. The same is true for ibft and dmraid.

David

>
> Signed-off-by: Martin Kolman <mkolman at redhat.com>
> ---
>   anaconda            | 5 -----
>   pyanaconda/flags.py | 1 -
>   2 files changed, 6 deletions(-)
>
> diff --git a/anaconda b/anaconda
> index 0e43e96..b1c9c79 100755
> --- a/anaconda
> +++ b/anaconda
> @@ -314,8 +314,6 @@ def parseArguments(argv=None, boot_cmdline=None):
>
>       ap.add_argument("--noibft", dest="ibft", action="store_false", default=True)
>       ap.add_argument("--ibft", action="store_true")
> -    ap.add_argument("--noiscsi", dest="iscsi", action="store_false", default=False)
> -    ap.add_argument("--iscsi", action="store_true")
>
>       # Geolocation
>       ap.add_argument("--geoloc")
> @@ -885,9 +883,6 @@ if __name__ == "__main__":
>       if opts.ibft:
>           flags.ibft = 1
>
> -    if opts.iscsi:
> -        flags.iscsi = 1
> -
>       if opts.targetArch:
>           flags.targetarch = opts.targetArch
>
> diff --git a/pyanaconda/flags.py b/pyanaconda/flags.py
> index 1fe5ad8..90ea8db 100644
> --- a/pyanaconda/flags.py
> +++ b/pyanaconda/flags.py
> @@ -46,7 +46,6 @@ class Flags(object):
>           self.__dict__['_in_init'] = True
>           self.livecdInstall = 0
>           self.ibft = 1
> -        self.iscsi = 0
>           self.usevnc = 0
>           self.vncquestion = True
>           self.mpath = 1
>



More information about the anaconda-patches mailing list