def __init__(self, ks, name, fslabel=None, releasever=None, tmpdir="/tmp", useplugins=False, cacheonly=False, docleanup=True): """Initialize a LoopImageCreator instance. This method takes the same arguments as ImageCreator.__init__() with the addition of: fslabel -- A string used as a label for any filesystems created. """ ImageCreator.__init__(self, ks, name, releasever=releasever, tmpdir=tmpdir, useplugins=useplugins, cacheonly=cacheonly, docleanup=docleanup) self.__fslabel = None self.fslabel = fslabel self.__minsize_KB = 0 self.__blocksize = 4096 self.__fstype = kickstart.get_image_fstype(self.ks, "ext3") self.__instloop = None self.__imgdir = None self.__image_size = kickstart.get_image_size(self.ks, 4096L * 1024 * 1024)
def __init__(self, ks, name, fslabel = None): """Initialize a LoopImageCreator instance. This method takes the same arguments as ImageCreator.__init__() with the addition of: fslabel -- A string used as a label for any filesystems created. """ ImageCreator.__init__(self, ks, name) self.__fslabel = None self.fslabel = fslabel self.__minsize_KB = 0 self.__blocksize = 4096 self.__fstype = kickstart.get_image_fstype(self.ks, "ext3") self.__instloop = None self.__imgdir = None self.__image_size = kickstart.get_image_size(self.ks, 4096L * 1024 * 1024)
def __init__(self, ks, name, fslabel=None, releasever=None, tmpdir="/tmp", useplugins=False, cacheonly=False, docleanup=True): """Initialize a LoopImageCreator instance. This method takes the same arguments as ImageCreator.__init__() with the addition of: fslabel -- A string used as a label for any filesystems created. """ ImageCreator.__init__(self, ks, name, releasever=releasever, tmpdir=tmpdir, useplugins=useplugins, cacheonly=cacheonly, docleanup=docleanup) self.__fslabel = None self.fslabel = fslabel self.__minsize_KB = 0 self.__blocksize = 4096 self.__instloop = None self.__imgdir = None self.__image_size = kickstart.get_image_size(self.ks, 4096 * 1024 * 1024)