In the SSD guide https://cloud.google.com/compute/docs/disks/add-local-ssd#gcloud I need to perform some operations in the host to format the SSD. How can I do it if I immediately launch a container?
Asked
Active
Viewed 76 times
-4
-
See: https://cloud.google.com/compute/docs/instances/startup-scripts – Martin Zeitler May 22 '22 at 07:43
1 Answers
0
You can add your command in startup scripts for Linux. If you are using a Windows machine, you need to give parameters in metadata and then need to specify commands or you can store the script in local and run on system reboot.

Vishal Bulbule
- 313
- 1
- 7