예제 #1
0
 def guided(self, method):
     v = GuidedDiskSelectionView(self.model, self, method)
     self.ui.set_body(v)
     if self.answers['guided']:
         index = self.answers['guided-index']
         disk = self.model.all_disks()[index]
         v.choose_disk(None, disk)
예제 #2
0
 def guided(self):
     title = _("Filesystem setup")
     footer = (_("Choose the installation target"))
     self.ui.set_header(title)
     self.ui.set_footer(footer)
     v = GuidedDiskSelectionView(self.model, self)
     self.ui.set_body(v)
     if self.answers['guided']:
         index = self.answers['guided-index']
         disk = self.model.all_disks()[index]
         v.choose_disk(None, disk)