Google Cloud - GUI password and SSH keys are reset after the reboot
After the reboot of FOS in Google Cloud, it may happen that the GUI password for the admin user and custom SSH keys in /home/flowmon/.ssh/authorized_keys are reset to the values at the time of deployment (from instance metadata).
Product: Flowmon OS
Version: 12.1 and lower
Platform: Google Cloud
Why is the GUI password reset after the reboot?
|Steps to Reproduce:
|There is a startup script in the instance metadata which is triggered during every boot. The script set the admin user password and flowmon user SSH key to the one configured during deployment.
Remove the startup script from the instance metadata by gcloud console:
gcloud compute instances remove-metadata <instance_name> --keys=startup-script