Gcutil does not show images or kernels

The gcutil tool for Google Compute Engine does not display any images / cores in a list subcommand like:

$ gcutil listimages --project <project_name>
+------+-------------+---------------+--------+
| name | description | creation-time | kernel |
+------+-------------+---------------+--------+
+------+-------------+---------------+--------+

Although if we do not specify the image when preparing the instance, it provides a set of image parameters:

$ gcutil addinstance cj-test-001

1: projects/google/global/images/centos-6-2-v20120326
2: projects/google/global/images/centos-6-2-v20120503
3: projects/google/global/images/centos-6-2-v20120611
4: projects/google/global/images/centos-6-2-v20120621
...
22: projects/google/global/images/ubuntu-12-04-v20120611
23: projects/google/global/images/ubuntu-12-04-v20120621
24: projects/google/global/images/ubuntu-12-04-v20120912

How to fix the problem with listing images via gcutil?

+5
source share
1 answer

By default, the command gcutil listimagesdisplays custom images for the project.

To view the default images provided by Google, run the following command:

$ gcutil --project=google listimages

Read more in the documentation here: https://developers.google.com/compute/docs/images

+5
source

All Articles