[rhel6-branch] Fix wrong attribute name in swap ks line (#1002924)
Brian C. Lane
bcl at redhat.com
Thu Jun 12 13:59:21 UTC 2014
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)
--
1.9.3
More information about the anaconda-patches
mailing list