Google Cloud - GUI password and SSH keys are reset after the reboot
Information
Summary: |
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). |
Environment: |
Product: Flowmon OS Version: 12.1 and lower Platform: Google Cloud |
Question/Problem Description: |
Why is the GUI password reset after the reboot? |
Steps to Reproduce: |
|
Error Message: | |
Defect Number: | FLMON-3730 |
Enhancement Number: | |
Cause: | 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. |
Resolution: |
Remove the startup script from the instance metadata by gcloud console: gcloud compute instances remove-metadata <instance_name> --keys=startup-script |
Workaround: | |
Notes: | https://cloud.google.com/compute/docs/metadata/setting-custom-metadata#gcloud_1 |
Was this article helpful?
0 out of 0 found this helpful