-
Notifications
You must be signed in to change notification settings - Fork 1
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
Add genisys-firstboot.service for launching first boot script #43
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Closed
r-akers
approved these changes
Jan 25, 2024
HenrithicusGreenson
approved these changes
Jan 25, 2024
patedm01
approved these changes
Jan 30, 2024
BBergle
approved these changes
Jan 30, 2024
xeluior
added a commit
that referenced
this pull request
Feb 15, 2024
* Create firstboot.py * Wrote generate function with POST as transmission method * Added shebang to script * Added port config to YAML file * Add genisys-firstboot.service for launching first boot script (#43) * added service file * added simple module to "install" the service file to the FTP dir * added new module to main * fixed lineter error * fixed install path * Ansible (#44) * added playbooks for ansible * Added j2 template for install docker and then selenium * Rename template.j2 to docker_selinum.yml * updated README with new prereq and some competitor listing (#49) * updated README with new prereq and some competitor listing * added puppet * Added JSON object to POSt request, added install_location * Removed redundant/unused var * Created sub directory * Added port config to YAML file * Created sub directory * Fixed the BS caused by rebase Inshallah I didn't change anything outside of these modules * Added module imports to main * Reformatted from list of strings to single string * Remove newline * Change Requests 1 * Removed "Install()" to use default behavior * Updated "Install_Path()" to return correct file path. * Fixed curl_command formatting * Created tests file, updated old tests * Test 1 * Fixed casting bug * Fixed test 1 * Fixed test bug 2 * Test fix 3 * Added second test * Removed comment * Added robert's parsing fix * Fixed test cases * Fixed yaml file setup * Changed working directory in service file * Updated curl command and test cases * Final script fix (hopefully) --------- Co-authored-by: Robert <developer@three-point-five.dev> Co-authored-by: Benny Bergle <58752312+BBergle@users.noreply.github.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Adds a SystemD service unit file to the templates dir to be packaged with the application. Service file requires network to be enabled, allowing the majority of admin tasks to be complete. Also requires an executable file to be placed at /first-boot/entrypoint.