Google Compute Engine StartUp Scripts

Hi,

You could just create a startup script that would change this for you on instance/cluster creation: https://cloud.google.com/compute/docs/startupscript#provide_startup_script_contents_directly

I replicated on an instance with the startup commands as below (but, test before pushing into production systems):

echo ‘Asia/Istanbul’ | sudo tee /etc/timezone
sudo dpkg-reconfigure -f noninteractive tzdata

 

compute engine startup script

Advertisements