I wanto to add startup script to windows VM instance Google (windows server 2012 datacenter).
I added statup script by custom metadata:
- Key: startup-script
- Value: #!/bin/bash mkdir C:\newfolder
But, it was not working. No folder was created in C: disk.
Serial port 1 (console) output:
2018/05/10 07:07:51 GCEMetadataScripts: Starting startup scripts (version 4.1.6@1). 2018/05/10 07:07:51 GCEMetadataScripts: No startup scripts to run.
Please help.