[rhel6-branch] Fix wrong attribute name in swap ks line (#1002924)
Martin Kolman
mkolman at redhat.com
Thu Jun 12 14:14:38 UTC 2014
On Thu, 2014-06-12 at 06:59 -0700, Brian C. Lane wrote:
> Commit 06615f6341d6d use mountopts instead of options. This fixes that.
>
> Related: rhbz#1002924
> ---
> storage/formats/swap.py | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/storage/formats/swap.py b/storage/formats/swap.py
> index 8291a8a..de04258 100644
> --- a/storage/formats/swap.py
> +++ b/storage/formats/swap.py
> @@ -185,8 +185,8 @@ class SwapSpace(DeviceFormat):
> if self.label:
> f.write(" --label=\"%s\"" % self.label)
>
> - if self.mountopts:
> - f.write(" --fsoptions=\"%s\"" % self.mountopts)
> + if self.options:
> + f.write(" --fsoptions=\"%s\"" % self.options)
>
> register_device_format(SwapSpace)
>
With an updates image that contains the patch I!m not getting the
traceback anymore any everything seems to work fine. So thanks & ACK! :)
More information about the anaconda-patches
mailing list