Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
"""
Ask the user which disk(s) to use for the installation process
"""
- def initialize(self):
- self.disks = self.bricklayer.disks
-
+ def run(self):
# Scan for disks
- self.disks.scan()
+ self.bricklayer.disks.scan()
- def run(self):
# Create a dictionary with all disks
- disks = { disk : "%s" % disk for disk in self.disks.supported }
+ disks = { disk : "%s" % disk for disk in self.bricklayer.disks.supported }
# Show an error if no suitable disks were found
if not disks: