GoogleCloudPlatform/compute-image-packages — pull request #63 by mpage (2014-04-17 20:57:34+00:00)
Title: Only load licenses if running on GCE.

We attempt to detect if we are running on GCE two ways:

1. By looking at the BIOS provider.
2. Checking if the metadata server is reachable.

Only load licenses if we can confirm we are running on GCE.