Intellipaat Back

Explore Courses Blog Tutorials Interview Questions
0 votes
2 views
in GCP by (29.3k points)

I have created a VM in google cloud platform, but startup script is not added, Is there any option to add this startup script from console. 

1 Answer

0 votes
by (50.2k points)

The startup script can be added through the console after creating an instance.

Navigate to the VM instance page and select the instance(By clicking on instance name).

Scroll down to custom data, Where you need to edit that field and add the key to startup-script and add the script in the value field.

Restart the instance to get these configurations, updated. Thus you can add the startup-script to the VM in google cloud.

Related questions

0 votes
1 answer
asked Nov 26, 2019 in GCP by Sammy (47.6k points)
0 votes
1 answer
0 votes
1 answer

31k questions

32.8k answers

501 comments

693 users

Browse Categories

...