On Mon, Nov 27, 2023 at 6:11 PM Kai <[email protected]> wrote: > Thank you Nick, that brought me many steps forward! > > I added some custom attributes and was able to read them out in my class > ProxmoxConnection extends DelegatingConnection using super.getAttributes(). > I got the http connection to the Proxmox API running, I just didn't > combine it all together, yet. > > What I was wondering, sometimes the VM ip can get changed or just isn't > static. > I tried to adjust the hostname of the connection inside the connect() > function like this: > GuacamoleConfiguration currentConfig = super.getConfiguration(); > currentConfig.setParameter("hostname", "10.20.1.122"); > super.setConfiguration(currentConfig); > > But it didn't change. Reading the source comments the configuration might > be read already. > Is there a good place to insert a hostname changing ? > > I would think that should work, but without seeing more complete code, I'm not sure why it isn't working. I guess just make sure that you're not calling the super.connect() prior to this block of code?
-Nick
