Signed-off-by: Gui Chen <gui.chen@intel.com>
self.repometadata = createopts['repomd']
# A name for the image."""
- self.name = 'output'
+ self.name = createopts['name']
# The directory in which all temporary files will be created."""
self.tmpdir = createopts['tmpdir']
def __get_image(self):
if self.__imgdir is None:
raise CreatorError("_image is not valid before calling mount()")
- return self.__imgdir + "/meego.img"
+ return os.path.join(self.__imgdir, self._img_name)
#The location of the image file.
#
#This is the path to the filesystem image. Subclasses may use this path