Signed-off-by: Martin Kolman <mkolman(a)redhat.com>
---
pyanaconda/kickstart.py | 10 +++++++++-
1 file changed, 9 insertions(+), 1 deletion(-)
diff --git a/pyanaconda/kickstart.py b/pyanaconda/kickstart.py
index a736972..5eda373 100644
--- a/pyanaconda/kickstart.py
+++ b/pyanaconda/kickstart.py
@@ -979,7 +979,10 @@ class PartitionData(commands.partition.F18_PartData):
mountpoint=self.mountpoint,
label=self.label,
fsprofile=self.fsprofile,
- mountopts=self.fsopts)
+ mountopts=self.fsopts,
+ size=self.size,
+ grow=self.grow,
+ maxsize=self.maxSizeMB)
if not kwargs["format"].type:
raise KickstartValueError, formatErrorMsg(self.lineno, msg="The
\"%s\" filesystem type is not supported." % type)
@@ -1034,6 +1037,11 @@ class PartitionData(commands.partition.F18_PartData):
msg="Invalid target size (%d) for device %s" %
(self.size, device.name)))
devicetree.registerAction(ActionCreateFormat(device,
kwargs["format"]))
+ # tmpfs mounts are not disks and don't occupy a disk partition,
+ # so handle them here
+ elif self.fstype == "tmpfs":
+ request = storage.newTmpFS(**kwargs)
+ storage.createDevice(request)
else:
# If a previous device has claimed this mount point, delete the
# old one.
--
1.8.3.1