Skip to content
New issue

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

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

Already on GitHub? # to your account

Use os.getlogin() to set the User for the discovery service job #20

Merged
merged 1 commit into from
Feb 28, 2025

Conversation

civerachb-cpr
Copy link
Contributor

Description

Replace User=ubuntu with User={os.getlogin()} when generating the discovery server configuration file if necessary

Fixes #14

Type of change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)

How Has This Been Tested?

Simple text replacement; unit test of new function only.

Did not generate a non-standard Ubuntu installation & run the whole script.

Checklist

  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation

… discovery server configuration file if necessary
@civerachb-cpr civerachb-cpr added bug Something isn't working enhancement New feature or request labels Feb 20, 2025
@civerachb-cpr civerachb-cpr merged commit 0f10776 into jazzy Feb 28, 2025
0 of 2 checks passed
@civerachb-cpr civerachb-cpr deleted the fix-discovery-hostname branch February 28, 2025 18:37
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
bug Something isn't working enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

discovery server crashes with user, other than 'ubuntu'
2 participants