Check if a Cloud key was already applied

I wanted to find out if anybody via scripting, found a way to determine if a cloud key has already been assigned on a system and then not apply it again if it does find one?  Getting tired of all the (1) (2) (3) (4) that I have to manually remove.

0

Comments

1 comment
  • Official comment

    Hi Bob,

    There isn't a direct command for this yet, but you can test for the existence of the "CloudCredentials.bed" file that is only created by VNC Server once it is joined to the cloud. Please see below for the location of this file on each platform:

    Windows:  C:\ProgramData\RealVNC-Service\vncserver.d\CloudCredentials.bed
    Mac: /var/root/.vnc/config.d/vncserver.d/CloudCredentials.bed
    Linux:  /root/.vnc/config.d/vncserver-x11.d/CloudCredentials.bed

    I hope this helps!

    Comment actions Permalink

Please sign in to leave a comment.

Didn't find what you were looking for?

New post