How to go about emailing results of Uyuni reports? #9638
ppanon2022
started this conversation in
General
Replies: 2 comments 1 reply
-
Doh! I almost had it. I thought podman suggested the openSUSE because it knew it was there, and I had tried to pull the full docker.io/library path and that had failed with a password error. I guess it turned out that the offer of the openSUSE registry was a false one and the package was just on docker.io, so the solution was to run the same command but pick the docker.io registry. |
Beta Was this translation helpful? Give feedback.
0 replies
-
postfix is available in the big Uyuni Container. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm trying to figure out how to go about emailing results of spacewalk-report commands to specific users. There are no MTAs available in either the Uyuni container or in the openSUSE MicroOS installation. There's also no cron, which is what we were using before the switch to containers, in either MicroOS or the Uyuni container.
The lack of cron isn't the end of the world. Articles like https://medium.com/horrible-hacks/using-systemd-as-a-better-cron-a4023eea996d and even Uyuni's backup docs (https://www.uyuni-project.org/uyuni-docs/en/uyuni/administration/backup-restore.html#smdba.automatic.backup.with.cron) show how timers can be used to run scheduled jobs that don't fit the canned taskomatic job profiles. So in theory that's doable.
The real issue seems to be the MTA. I should be able to use a container with a postfix image, like
podman pull wnprcehr/postfix
but it's running in an environment with blocked direct external access, so I get
There's a proxy I could use, and I tried setting the capitalized proxy variables with /etc/profile.local - they do show up if I log in and out, and podman is showing me a choice of the repos (for openSUSE, SUSE and docker.io) but the openSUSE one doesn't work and docker.io gave me a login error.
Has someone out there done something like this and can help me figure out what I'm missing?
Beta Was this translation helpful? Give feedback.
All reactions