Commits

Anonymous committed 2733051

setting root login name to change password.

  • Participants
  • Parent commits 873dffc

Comments (0)

Files changed (1)

vinstall/controller/automatic.py

     def set_root_password(self, rootpassword):
         """Set the root password"""
         admin = users.User()
-        admin.root="/mnt/TARGET"
+        admin.root = "/mnt/TARGET"
+        admin.login = "root"
         with utils.Chroot("/mnt/TARGET"):
             admin.change_password(rootpassword)
         return