Cockpit looks in `/etc/os-release`[1] for the `VARIANT` and `VARIANT_ID` keys. You can override the keys there.
Hi
I tried by placing it at systemd unit file, here is how
# cat /etc/systemd/system/cockpit.service
[Unit]
Description=Cockpit Web Service
Documentation=man:cockpit-ws(8)
Requires=cockpit.socket
[Service]
ExecStartPre=/usr/sbin/remotectl certificate --ensure --user=root --group=cockpit-ws --selinux-type=etc_t
ExecStart=/usr/libexec/cockpit-ws
PermissionsStartOnly=true
User=cockpit-ws
Group=cockpit-ws
Environment=VARIANT_ID=MyVariant #<-- my variant
Also I tried to stop cockpit.service and run with the variable setted, no effect
I copied centos folder to centos-MyVariant and changed the logo image. I expected to see the new image, but nothing changed
Any ideas? What I'm missing?
_______________________________________________
cockpit-devel mailing list -- cockpit-devel@lists.fedorahosted.org
To unsubscribe send an email to cockpit-devel-leave@lists.fedorahosted.org
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedorahosted.org/archives/list/cockpit-devel@lists.fedorahosted.org