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)
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)
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)