Skip to content
This repository has been 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

Open
micolous opened this issue Jul 7, 2016 · 0 comments
Open

Comments

@micolous
Copy link

micolous commented Jul 7, 2016

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant