Commits

Rodrigo Bistolfi  committed 156eee4

Moved bootloader to the end in advanced branch

  • Participants
  • Parent commits ccf04ee

Comments (0)

Files changed (3)

File vinstall/controller/bootloader.py

         """Return next step
 
         """
-        from vinstall.controller import usersetup
-        return usersetup.UserSetup
+        return None
 
     def previous(self):
         """Return previous step
 
         """
-        from vinstall.controller import packages
-        return packages.PackageSelection
+        from vinstall.controller import usersetup
+        return usersetup.UserSetup
 
     def command(self, bootloader, target):
         """Schedule command for later execution
 
     def install_bootloader(self, bloader, target):
         """Install the bootloader
-        
+
         """
         bloader = self.bootloaders[bloader]
         disk = self.targets[target]

File vinstall/controller/packages.py

         """Return next step
 
         """
-        from vinstall.controller import bootloader
-        return bootloader.Bootloader
+        from vinstall.controller import usersetup
+        return usersetup.UserSetup
 
     def previous(self):
         """

File vinstall/controller/usersetup.py

         """Return next step
 
         """
-        return None
+        from vinstall.controller import bootloader
+        return bootloader.Bootloader
 
     def previous(self):
         """Return previous step
 
         """
-        from vinstall.controller import bootloader
-        return bootloader.Bootloader
+        from vinstall.controller import packages
+        return packages.PackageSelection
 
     def command(self, username, password, rootpassword):
         """Create a user and setup passwords
                 if svc.name in s:
                     svc.enable(runlevel)
 
-   def clear_bind_mounts(self):
+    def clear_bind_mounts(self):
         """Clear the mountpoints that were mounted for the configuration
 
         """