コード例 #1
0
ファイル: users.py プロジェクト: martinpitt/anaconda-1
    def set_ssh_keys_with_task(self):
        """Return the SSH key configuration task.

        :returns: o SSH key configuration task
        """
        return SetSshKeysTask(sysroot=conf.target.system_root,
                              ssh_key_data_list=self.ssh_keys)
コード例 #2
0
ファイル: users.py プロジェクト: gpchelkin/anaconda
    def set_ssh_keys_with_task(self, sysroot):
        """Return the SSH key configuration task.

        :param str sysroot: a path to the root of the installed system
        :returns: object path of the SSH key configuration task
        """
        task = SetSshKeysTask(sysroot=sysroot, ssh_key_data_list=self.ssh_keys)
        return self.publish_task(USERS.namespace, task)
コード例 #3
0
    def set_ssh_keys_with_task(self):
        """Return the SSH key configuration task.

        :returns: object path of the SSH key configuration task
        """
        task = SetSshKeysTask(
            sysroot=conf.target.system_root,
            ssh_key_data_list=self.ssh_keys
        )
        return self.publish_task(USERS.namespace, task)