How do i enable the OS Login of my existing Linux VM?

0 votes
I have a Linux VM instance already configured on google cloud. How do I enable the OS Login for it?
Sep 26 in GCP by anonymous
• 3,250 points
17 views

1 answer to this question.

0 votes

Set enable-oslogin in metadata of an existing instance:

  1. Go to the VM instances page.

  2. Click the name of the instance on which you want to set the metadata value.

  3. At the top of the instance details page, click Edit to edit the instance settings.

  4. Under Custom metadata, add a metadata entry where the key is enable-oslogin and the value is TRUE. Alternatively, set the value to FALSE to exclude the instance from the feature.

  5. At the bottom of the instance details page, click Save to apply your changes to the instance.

For all operating systems except CoreOS, this change is applied instantaneously; you do not need to restart your instance. For CoreOS distributions, reboot or restart the instance for the change to take effect. To restart, perform a stop and then start operation on your instances.

answered Sep 26 by Sirajul
• 29,340 points

Related Questions In GCP

0 votes
1 answer

How do I add the access config for my Linux VM instance?

If your instance does not have an ...READ MORE

answered Sep 26 in GCP by anonymous
• 3,250 points
25 views
+3 votes
11 answers

How do I delete my Google Cloud Platform Account?

How do I delete me cloud and ...READ MORE

answered Jan 18 in GCP by dodge123@yahoo.com
13,923 views
0 votes
1 answer

How do I create a preemptible virtual machine (VM) instance?

With gcloud compute, use the same instances create command that ...READ MORE

answered Sep 23 in GCP by Sirajul
• 29,340 points
16 views
0 votes
1 answer

Creating a SQL Server instance using Google Compute engine.

Google Compute Engine provides public images preconfigured with ...READ MORE

answered Sep 23 in GCP by Sirajul
• 29,340 points
18 views
0 votes
1 answer

How do i install gcloud compute?

The gcloud compute command-line tool enables you to easily ...READ MORE

answered Sep 23 in GCP by Sirajul
• 29,340 points
16 views
0 votes
1 answer

Creating password for a windows instance on GCP

Windows Server instances use password authentication instead ...READ MORE

answered Sep 24 in GCP by Sirajul
• 29,340 points
44 views
0 votes
1 answer