I'm running a Bitnami MEAN instance and added a few lines to the startup script meta tag. I don't think it's running. I tailed the log files per the instructions here: https://cloud.google.com/compute/docs/startupscript after adding some debug statements and I don't see any of my debug statements in the log. Does the startup-script commands not run on a bitnami vm??? Maybe it's overwritten somewhere for another script. I don't see it documented in the Bitnami docs.
I also ran the startup manually from a terminal
sudo google_metadata_script_runner --script-type startup
and it worked. So maybe Bitnami overrides the default startup script???