-
-
Notifications
You must be signed in to change notification settings - Fork 418
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
[WIP] initial implementation of a udm-boot container for #46 #50
Conversation
Hey man, I am a little confused on what the benefit is and what we are trying to achieve here. could we jump on a video call and discuss the benefits and pros and cons and how this would look in the future? I am not saying anything negative, I am just trying to understand better. Can you join my slack or let me know what a good place is to get a hold of you? |
Also, check out my package manager branch, I am writing an installer for a lot of the stuff here as well as going to add a way to start and stop those services easily. |
Didn't try it out, but I can guess what the goal of the package manager is. I think this can work with your vanilla solution and with the podman in podman solution.
Sure, you can invite me to your slack with the mail from the changelog in the debian package or the commits here. |
We can talk about this also later, just more explanation beforehand: |
cbb9563
to
a174aba
Compare
added a version that should be able to replace the current 1.0.2 version by moving |
https://github.com/spali/udm-utilities/releases/v1.1.0-poc-2 Additionally for #43, did a short test creating a symlink from /mnt/data/udm-boot to /mnt/data_ext/udm-boot seems to work to have the data on the additional drive on UDMP. unifi-os shell
systemctl stop udm-boot
exit
mv /mnt/data/udm-boot /mnt/data_ext/
ln -s /mnt/data_ext/udm-boot /mnt/data/udm-boot
unifi-os shell
systemctl start udm-boot |
b0c2f0d
to
47e614f
Compare
just rebased on current master |
Is this good to go? |
maybe we need to wait for #71 first, because I observe the same problem with this PR. |
* support of the legacy on_boot.d scripts again * move udm-boot files to /mnt/udm-boot/... * include container image in deb to to shorten the install time * required to drop the build artifact from the repo (releases!) * reduced build dependencies to only use buildah * better installation script separation
updated release, rebased master changes and potential fix for #71 https://github.com/spali/udm-utilities/releases/tag/v1.1.0-poc-4 |
@spali I have an implementation of this idea that's ready for use. Instruction is at here: https://github.com/ntkme/unifi-systemd-units A few highlights about my implementation:
Feel free to have a try. Feedback are welcome! |
First test build for using a "udm-boot" container that should manage everything.
Note:
I commented out to delete the existing
on_boot.sh
and move theon_boot.d
duringpostinst
.So
dpkg -P udm-boot && dpkg -i udm-boot_1.0.2_all.deb
should leave you with a working 1.0.2 again.a quick test with starting the
tusc/chrony-udm
container inside theudm-boot
container did work as expected. Didn't had to execute any additional script, the port was exposed on the udm's ip itself.Just as a test (shouldn't be in integrated in the release version) I included cockpit in the container on port 9090 (user: root / password: udm-boot) as a kind of quick and dirty interface. Nice would be, if we could use this to manage the "addon" containers.
Open questions (for sure only if this is a suitable way to go for you):
boot.d
or if we should force the people to use systemd in the udm-boot container.ToDo:
S95unifos
.ANY feedback is welcome!