How to create a folder in home directory(ubuntu16.04) using GCP start up script at time of GCP VM creation?
Here is what I am doing: gcloud compute instances create example-instance --image-family $image --image-project $projectID --machine-type $type_machine --metadata startup-script='#!/bin/bash mkdir -p ~/test' This look super simple. The instance is created no test folder is created in home directory. I checked…