mirror of
https://github.com/netbootxyz/docker-netbootxyz.git
synced 2026-04-25 15:05:50 +03:00
[PR #56] [MERGED] Separate init script from the start script #191
Labels
No labels
enhancement
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/docker-netbootxyz#191
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/netbootxyz/docker-netbootxyz/pull/56
Author: @dezeroku
Created: 1/31/2024
Status: ✅ Merged
Merged: 2/4/2024
Merged by: @antonym
Base:
master← Head:to-upstream-two📝 Commits (1)
cdae9b6Separate init script from the start script📊 Changes
2 files changed (+78 additions, -74 deletions)
View changed files
➕
root/init.sh(+76 -0)📝
root/start.sh(+2 -74)📄 Description
In k8s environments it's quite common to bootstrap the deployments following these steps:
Currently there's no easy way to perform the initial configuration without starting the main processes, this PR separates "init" and "run" parts.
The
init.shfile is basically copied as-is from thestart.shwith two changes:thenin line 30, as it was causing/start.sh: line 30: : not foundwarning/error🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.