summaryrefslogtreecommitdiffstats
path: root/scripts/lib/wic/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/lib/wic/plugins')
-rw-r--r--scripts/lib/wic/plugins/imager/direct.py4
1 files changed, 0 insertions, 4 deletions
diff --git a/scripts/lib/wic/plugins/imager/direct.py b/scripts/lib/wic/plugins/imager/direct.py
index 663655a03c..7d6c59ae58 100644
--- a/scripts/lib/wic/plugins/imager/direct.py
+++ b/scripts/lib/wic/plugins/imager/direct.py
@@ -90,9 +90,6 @@ class DirectPlugin(ImagerPlugin):
90 strftime("%Y%m%d%H%M")) 90 strftime("%Y%m%d%H%M"))
91 self.workdir = tempfile.mkdtemp(dir=self.outdir, prefix='tmp.wic.') 91 self.workdir = tempfile.mkdtemp(dir=self.outdir, prefix='tmp.wic.')
92 self._image = None 92 self._image = None
93 self._disks = {}
94 self._disk_format = "direct"
95 self._disk_names = []
96 self.ptable_format = self.ks.bootloader.ptable 93 self.ptable_format = self.ks.bootloader.ptable
97 self.parts = self.ks.partitions 94 self.parts = self.ks.partitions
98 95
@@ -249,7 +246,6 @@ class DirectPlugin(ImagerPlugin):
249 msger.debug("Adding disk %s as %s with size %s bytes" \ 246 msger.debug("Adding disk %s as %s with size %s bytes" \
250 % (disk_name, full_path, disk['min_size'])) 247 % (disk_name, full_path, disk['min_size']))
251 disk_obj = DiskImage(full_path, disk['min_size']) 248 disk_obj = DiskImage(full_path, disk['min_size'])
252 #self._disks[disk_name] = disk_obj
253 self._image.add_disk(disk_name, disk_obj, disk_ids.get(disk_name)) 249 self._image.add_disk(disk_name, disk_obj, disk_ids.get(disk_name))
254 250
255 self._image.create() 251 self._image.create()