Logo Search packages:      
Sourcecode: ubiquity version File versions  Download package

def ubiquity::frontend::noui::Wizard::get_info (   self  ) 

get_info() -> [hostname, fullname, name, password]

Get from the Debconf database the information about
hostname and user. Return a list with those values.

Definition at line 39 of file noui.py.

00039                       :
        '''get_info() -> [hostname, fullname, name, password]

        Get from the Debconf database the information about
        hostname and user. Return a list with those values.
        '''
        info = []
        hostname = open('/etc/hostname')
        info.append(hostname.readline().strip())
        hostname.close()
        info.append(self.db.get('passwd/user-fullname'))
        info.append(self.db.get('passwd/username'))
        info.append(self.db.get('passwd/user-password'))
        return info
        
    def get_partitions(self):


Generated by  Doxygen 1.6.0   Back to index