[ovirt-users] Re: Set fixed VNC/Spice Password for VMs.

2021-08-02 Thread Merlin Timm
The problem is this: I need to be able to connect to the systems automatically via a script. Even if the VMs are restarted. If the PW changes every time, my script doesn't work anymore. Am 02.08.21 um 09:32 schrieb Michal Skrivanek: On 31. 7. 2021, at 9:19, Strahil Nikolov

[ovirt-users] Re: Set fixed VNC/Spice Password for VMs.

2021-08-02 Thread Michal Skrivanek
> On 31. 7. 2021, at 9:19, Strahil Nikolov wrote: > > You need to (all Hypervisors that will be running this script): > - download the engine's CA from > https:///ovirt-engine/services/pki-resource?resource=ca-certificate=X509-PEM-CA > - put it at : > /etc/pki/ca-trust/source/anchors/ > -

[ovirt-users] Re: Set fixed VNC/Spice Password for VMs.

2021-07-31 Thread Strahil Nikolov via Users
You need to (all Hypervisors that will be running this script):- download the engine's CA from  https:///ovirt-engine/services/pki-resource?resource=ca-certificate=X509-PEM-CA - put it at :/etc/pki/ca-trust/source/anchors/- make it trousted by running:  update-ca-trust extract Best

[ovirt-users] Re: Set fixed VNC/Spice Password for VMs.

2021-07-30 Thread Merlin Timm
Ah okay, i figured it out. root@mypc:/home/merlin/Documents/Ovirt-0.06# perl set_ovirt_vnc_pw.pl LWP Status line : 500 Can't connect to my.ovirt.manager.com:443 (certificate verify failed) at /usr/local/share/perl/5.26.1/Ovirt/VM.pm line 195. it seems to work but it cant connect to the ovirt

[ovirt-users] Re: Set fixed VNC/Spice Password for VMs.

2021-07-30 Thread Merlin Timm
actually I rather wanted to know how to generate a config with Ovirt::Display. I didn't really understand what I have to do to generate a config. Am 30.07.2021 14:04 schrieb Milan Zamazal: Merlin Timm writes: Hey, Thanks for the answers! I want to try the perl solution. One, maybe

[ovirt-users] Re: Set fixed VNC/Spice Password for VMs.

2021-07-30 Thread Milan Zamazal
Merlin Timm writes: > actually I rather wanted to know how to generate a config with > Ovirt::Display. I didn't really understand what I have to do to > generate a config. I've never tried it but I think you should fetch the perl library and then run a perl script according to the example in

[ovirt-users] Re: Set fixed VNC/Spice Password for VMs.

2021-07-30 Thread Strahil Nikolov via Users
I'm not sure, but you can create your own vdsm hook that can alter the VM's xml before powering up. Best Regards,Strahil Nikolov On Fri, Jul 30, 2021 at 15:23, Merlin Timm wrote: ___ Users mailing list -- users@ovirt.org To unsubscribe send an

[ovirt-users] Re: Set fixed VNC/Spice Password for VMs.

2021-07-30 Thread Merlin Timm
Hey, Thanks for the answers! I want to try the perl solution. One, maybe stupid, question: how do i run this perl module? Do i run it on the Host or from my local machne? I am a litte bit confused. Could someone explain it to me? Best regarda Am 8. Juli 2021 16:05:42 MESZ schrieb Milan

[ovirt-users] Re: Set fixed VNC/Spice Password for VMs.

2021-07-30 Thread Milan Zamazal
Merlin Timm writes: > Hey, > > Thanks for the answers! > > I want to try the perl solution. One, maybe stupid, question: how do i run > this perl module? > > Do i run it on the Host or from my local machne? I am a litte bit confused. As I understand it, you can run it from anywhere where

[ovirt-users] Re: Set fixed VNC/Spice Password for VMs.

2021-07-08 Thread Milan Zamazal
Sandro Bonazzola writes: > Il giorno gio 8 lug 2021 alle ore 13:38 Sandro Bonazzola < > sbona...@redhat.com> ha scritto: > >> +Milan Zamazal , +Arik Hadas , >> +Michal >> Skrivanek any hint? >> > > I found https://metacpan.org/pod/Ovirt::Display but I think there should be > an easier way

[ovirt-users] Re: Set fixed VNC/Spice Password for VMs.

2021-07-08 Thread Sandro Bonazzola
Il giorno gio 8 lug 2021 alle ore 13:38 Sandro Bonazzola < sbona...@redhat.com> ha scritto: > +Milan Zamazal , +Arik Hadas , > +Michal > Skrivanek any hint? > I found https://metacpan.org/pod/Ovirt::Display but I think there should be an easier way within the engine to configure this. > >

[ovirt-users] Re: Set fixed VNC/Spice Password for VMs.

2021-07-08 Thread Sandro Bonazzola
+Milan Zamazal , +Arik Hadas , +Michal Skrivanek any hint? Il giorno mar 6 lug 2021 alle ore 14:01 Merlin Timm ha scritto: > Good day to all, > > I have a question about the console configuration of the VMs: > > By default, for each console connection to a VM, a password is set for > 120