Part 1 .How to add a start up script to your VM .#VM #GCP #startupscript

preview_player
Показать описание
There are 4 ways in which you can add a start up script to your VM
In this video i will explain the first 2 ways
1. Using the automation text box which VM creation
2 using the metadata tag startup-script

Also
For restarting a start up script use

For seeing the logs
sudo google_metadata_script_runner startup

For more information please refer
Рекомендации по теме
Комментарии
Автор

Hi, how can I run a bash script present inside my VM using startup script?

SolomonLeo_