Hi,
When calling ImageCreator directly it seems it is missing _fstype.
Attached patch adds this to the ImageCreator class.
steps to reproduce:
creator = imgcreate.ImageCreator(ks, name, None, tmp)
creator.create()
...
File "/usr/lib/python2.7/site-packages/imgcreate/creator.py", line 235, in
_get_fstab
s = "/dev/root / %s defaults,noatime 0 0\n" %(self._fstype)
AttributeError: 'ImageCreator' object has no attribute '_fstype'
This is on Centos Linux 7, using python-imgcreate-20.1-2.el7.x86_64
I hope this patch is suitable for inclusion in future releases.
--
Leo Baltus, internetbeheerder
NPO ICT Internet Services
Bart de Graaffweg 2, 1217 ZL Hilversum