Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

ubuntu gcp packer

{
  "builders": [
    {
      "type": "googlecompute",
      "project_id": "<your project ID that will be used to launch instances and store images>",
      "source_image_project_id": "ubuntu-os-pro-cloud",
      "source_image_family": "ubuntu-pro-1804-lts",
      "zone": "us-central1-a",
      "image_description": "created-with-packer",
      "ssh_username": "root",
      "tags": "packer",
      "account_file": "<your google credentials in json format>"
    }
  ],
  "provisioners": [
    {
      "type": "shell",
      "inline": [
        "sudo ua status --wait",
        "sudo ua detach --assume-yes"
      ]
    }
  ]
}
Comment

PREVIOUS NEXT
Code Example
Shell :: ASUS Router NVRAM script 
Shell :: grep show line 
Shell :: inspect changes after git fetch 
Shell :: how to restart avro in ubuntu 20.04 terminal 
Shell :: canot find acord dynamic import 
Shell :: cmd echo datetime in loop 
Shell :: harmony patch download 
Shell :: sudo add-apt-repository ppa:diodon-team/stable 
Shell :: how to open fileexplorer from terminal in ubuntu 
Shell :: chrome saved cache gif 
Shell :: ubuntu bluetooth config file 
Shell :: linux find folder and exec du 
Shell :: combine two files as columns 
Shell :: powershell return tuple 
Shell :: laravel minify css 
Shell :: thunderbird reply 
Shell :: run same command in different hosts 
Shell :: clear old allure results 
Shell :: libpng12-0 removed from ubuntu ? 
Shell :: python rasterstats install 
Shell :: error while ruling prettier 
Shell :: cut command in unix set diameter 
Shell :: wsl install from tar 
Shell :: how to make a text in batch 
Shell :: pi docker installieren 
Shell :: gist add image 
Shell :: delete every file in directory mac 
Shell :: git conflicts in yarn-lock 
Shell :: httpie complex request 
Shell :: pull all files out of subfolders recursively 
ADD CONTENT
Topic
Content
Source link
Name
2+6 =