-
Notifications
You must be signed in to change notification settings - Fork 7
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
LXD UI #29
Comments
Thanks for the hint. I'll have a look at it. |
I was able to build a first version of the You can give it a try by installing the package
|
Many thanks for the effort, very well done and received. Even though I had adapted the snippet to read [Service]
< LXD_UI=/usr/share/lxd-ui/ui
> Environment=LXD_UI=/usr/share/lxd-ui/ui LXD would not bind to the expected port :8443, until I had activated the API with Then I was greeted with a way to set the token for the certificate that was offered, and could manage the service.
Should this issue remain open, until the package also builds for other platforms? |
Ah, sorry about the wrong service snipped. Btw. thanks for all the links that you posted. They help me a lot. Now I'm still struggling with some Javascript build issues. I'd like to leave the issue open until I fixed that. Hopefully it will keep me motivated to fix it soon. |
Cool, go on. People will be surprised to hear that this even exists and just works™ |
The How to enable the UI is now also explained in the wiki. I hope this should be good enough for everyone interested to figure out how to use it. |
You were faster than Incus, which is a little nice. |
The LXD Snap brings an LXD UI since
v5.14
:Is there a chance this could be included in these LXD builds here?
As per the definition of the snap, this only seems to copy some static files into an expected location, and is then available?
https://github.com/canonical/lxd-pkg-snap/blob/1b5997236d12a73a402a711e1dd3d9274eb43045/snapcraft.yaml#L1523-L1544
ui.enabled=true
then exports an environment variable with the location of the UI:https://github.com/canonical/lxd-pkg-snap/blob/1b5997236d12a73a402a711e1dd3d9274eb43045/snapcraft/commands/daemon.start#L449-L453
LXD activates the UI, if this variable is present and set:
https://github.com/canonical/lxd/blob/1be6a0bc5e65a157d32afbac4b24ee3b0d8fc791/lxd/api.go#L70-L71
Would it be possible to replicate these steps with the COPR and RPM build infrastructure?
Else I've seen plans in Incus land to repackage it, which could be used as a reference point.
The text was updated successfully, but these errors were encountered: