Skip to content

Making VMAccess idempotent

Compare
Choose a tag to compare
@vrdmr vrdmr released this 11 Feb 06:55
· 847 commits to master since this release
ffc056c

Changing the VMAccess enable behavior to make it idempotent and reduce unintended side effects - to not make any changes to the machine if a new sequence number is not received.

  • The reset of ChallengeAuthenticationProtocol flag now happens only when a new sequence number is received and not when enable is called.
  • Resetting the SSH port for allowing SSH Access also happens only when a new sequence number is received.
  • Scrubbing the settings used by VMAccess once the password reset or SSH key setup is done.