Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

realm: add methods for realm utility #153

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

shridhargadekar
Copy link

realm utility is a tool manage enrollment in realm. This PR is adding methods provided by realm utility.

Copy link
Member

@pbrezina pbrezina left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi, I think it looks good. See the comments inline.

Besides this, I have the same comments about restore as I have in the adcli PR: #145 (review) ... we can rely on IPAHost/ADHost backup/restore, but it needs to be documented. Since realm join generates keytab and sssd configuration, fs.backup should be called first.

"""
if args is None:
args = []
dom = domain.upper()
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is unused.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

updated

Comment on lines 92 to 94
args = []
return self.host.conn.exec(["realm", "list", *args])
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Separate with blank line, same on other places.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

updated

realm utility is a tool manage enrollment in realm. This PR
is adding methods provided by realm utility.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants