I think it's also neccesary to add this one for fixing --iscrypted itself
(it will crypt the crypted pw otherwise ?):

---installclass.py
+++ site-packages/installclass.py
@@ -151,6 +151,7 @@

     def doRootPw(self, pw, isCrypted = 0):
        self.rootPassword = pw
+       self.isCrypted = isCrypted

     def getMakeBootdisk(self):
        return self.makeBootdisk
@@ -192,6 +193,7 @@
        self.timezone = None
        self.setAuthentication(1, 1, 0)
        self.rootPassword = None
+       self.isCrypted = 0
        self.installType = None
        self.bootProto = None
        self.ip = ""

and

--- todo.py
+++ site-packages/todo.py
@@ -1245,7 +1245,7 @@

        todo.users = []
        if todo.instClass.rootPassword:
-           todo.rootpassword.set(todo.instClass.rootPassword)
+
todo.rootpassword.set(todo.instClass.rootPassword,todo.instClass.isCrypted)
        if todo.instClass.language:
            todo.language.setByAbbrev(todo.instClass.language)
        if todo.instClass.keyboard:

-----------------------------------------------------------------


cheers
German

------------------------------------------------------
Germán Cancio Meliá IT/DIS    CERN   CH-1211 Genčve 23
tel. +41 2276 72854
------------------------------------------------------



On 29 Nov 1999, Esben Haabendal Soerensen wrote:

> Hi
> 
> Below is a small patch fixing the doRootPw method in kickstart.py
> 
> 
> 
> --- kickstart.py.orig Sat Sep 25 19:01:19 1999
> +++ kickstart.py      Mon Nov 29 14:17:29 1999
> @@ -8,7 +8,7 @@
>  class Kickstart(InstallClass):
>  
>      def doRootPw(self, args):
> -     (args, extra) = isys.getopt(args, '', [ 'iscrypted=' ])
> +     (args, extra) = isys.getopt(args, '', [ 'iscrypted' ])
>  
>       isCrypted = 0
>       for n in args:
> 
> 
> 
> /bart
> -- 
> caffeine low .... brain halted
> 
> -- 
> To unsubscribe:
> mail -s unsubscribe [EMAIL PROTECTED] < /dev/null
> 
> 

-- 
To unsubscribe:
mail -s unsubscribe [EMAIL PROTECTED] < /dev/null

Reply via email to