diff options
Diffstat (limited to 'scripts/lib/wic/plugins')
| -rw-r--r-- | scripts/lib/wic/plugins/imager/direct.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/lib/wic/plugins/imager/direct.py b/scripts/lib/wic/plugins/imager/direct.py index 4d0b836ef6..da483daed5 100644 --- a/scripts/lib/wic/plugins/imager/direct.py +++ b/scripts/lib/wic/plugins/imager/direct.py | |||
| @@ -138,8 +138,9 @@ class DirectPlugin(ImagerPlugin): | |||
| 138 | device_name = "/dev/%s%s%d" % (part.disk, prefix, part.realnum) | 138 | device_name = "/dev/%s%s%d" % (part.disk, prefix, part.realnum) |
| 139 | 139 | ||
| 140 | opts = part.fsopts if part.fsopts else "defaults" | 140 | opts = part.fsopts if part.fsopts else "defaults" |
| 141 | passno = part.fspassno if part.fspassno else "0" | ||
| 141 | line = "\t".join([device_name, part.mountpoint, part.fstype, | 142 | line = "\t".join([device_name, part.mountpoint, part.fstype, |
| 142 | opts, "0", "0"]) + "\n" | 143 | opts, "0", passno]) + "\n" |
| 143 | 144 | ||
| 144 | fstab_lines.append(line) | 145 | fstab_lines.append(line) |
| 145 | updated = True | 146 | updated = True |
