Skip to content

GCP Image Creation

Matthew Yee edited this page Jul 26, 2023 · 9 revisions

Creating Images in GCP

Image creation command

gcloud compute images create rhel-9-1-05-09-2023 --source-disk=rhel-9-1-05-09-2023 --source-disk-zone=us-central1-a

Added software

mlocate buildah podman wget vim cockpit ca-certificates httpd mod_ssl git subscription-manager bash-completion tmux tuned tree nc nmstate man-db stress-ng libguestfs

virt image compose

{
  "distribution": "rhel-92",
  "image_name": "myee-virt",
  "image_requests": [
    {
      "architecture": "x86_64",
      "image_type": "gcp",
      "upload_request": {
        "type": "gcp",
        "options": {
          "share_with_accounts": [
            "user:[email protected]"
          ]
        }
      }
    }
  ],
  "customizations": {
    "packages": [
      "mlocate",
      "buildah",
      "podman",
      "wget",
      "vim-enhanced",
      "cockpit",
      "cockpit-machines",
      "cockpit-pcp",
      "cockpit-podman",
      "cockpit-session-recording",
      "cockpit-storaged",
      "cockpit-composer",
      "cockpit-packagekit",
      "cockpit-system",
      "ca-certificates",
      "httpd",
      "mod_ssl",
      "git",
      "subscription-manager",
      "bash-completion",
      "tmux",
      "tuned",
      "tree",
      "nmap-ncat",
      "nmstate",
      "man-db",
      "stress-ng",
      "libguestfs",
      "libguestfs-bash-completion"
    ],
    "filesystem": [
      {
        "mountpoint": "/",
        "min_size": 21474836480
      }
    ]
  }
}

Special Satellite images

myee-satellite myee-satellite-client

Clone this wiki locally