Skip to content
This repository was archived by the owner on Jan 1, 2022. It is now read-only.
This repository was archived by the owner on Jan 1, 2022. It is now read-only.

/usr/share/google/get_metadata_value is removed from 20160606+ images #1

@micolous

Description

@micolous

https://github.com/neechbear/ansible/blob/master/roles/custom-facts/files/gce.fact

It seems you have a few references to /usr/share/google/get_metadata_value. There are now Python bindings included in the guest environment instead for getting access to this data. The library documentation is here:

https://github.com/GoogleCloudPlatform/compute-image-packages/blob/master/README.md#common-libraries

The script itself is gone (as of v20160606 images for everything but Ubuntu, and Ubuntu will be following suit Real Soon Now), so your code in the current state won't work.

It also looks like you have a typo: /devlnull instead of /dev/null.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions