diff options
Diffstat (limited to 'scripts/lib/wic/3rdparty/pykickstart/commands')
| -rw-r--r-- | scripts/lib/wic/3rdparty/pykickstart/commands/partition.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/lib/wic/3rdparty/pykickstart/commands/partition.py b/scripts/lib/wic/3rdparty/pykickstart/commands/partition.py index 56b91aa9d9..b564b1a7ab 100644 --- a/scripts/lib/wic/3rdparty/pykickstart/commands/partition.py +++ b/scripts/lib/wic/3rdparty/pykickstart/commands/partition.py | |||
| @@ -78,7 +78,7 @@ class FC3_PartData(BaseData): | |||
| 78 | if self.recommended: | 78 | if self.recommended: |
| 79 | retval += " --recommended" | 79 | retval += " --recommended" |
| 80 | if self.size and self.size != 0: | 80 | if self.size and self.size != 0: |
| 81 | retval += " --size=%s" % self.size | 81 | retval += " --size=%sk" % self.size |
| 82 | if hasattr(self, "start") and self.start != 0: | 82 | if hasattr(self, "start") and self.start != 0: |
| 83 | retval += " --start=%s" % self.start | 83 | retval += " --start=%s" % self.start |
| 84 | 84 | ||
| @@ -216,7 +216,7 @@ class FC3_Partition(KickstartCommand): | |||
| 216 | callback=part_cb, nargs=1, type="string") | 216 | callback=part_cb, nargs=1, type="string") |
| 217 | op.add_option("--recommended", dest="recommended", action="store_true", | 217 | op.add_option("--recommended", dest="recommended", action="store_true", |
| 218 | default=False) | 218 | default=False) |
| 219 | op.add_option("--size", dest="size", action="store", type="int", | 219 | op.add_option("--size", dest="size", action="store", type="size", |
| 220 | nargs=1) | 220 | nargs=1) |
| 221 | op.add_option("--start", dest="start", action="store", type="int", | 221 | op.add_option("--start", dest="start", action="store", type="int", |
| 222 | nargs=1) | 222 | nargs=1) |
