diff options
Diffstat (limited to 'src/config/cloud')
| -rw-r--r-- | src/config/cloud/gce.ipxe | 7 | ||||
| -rw-r--r-- | src/config/cloud/general.h | 4 |
2 files changed, 11 insertions, 0 deletions
diff --git a/src/config/cloud/gce.ipxe b/src/config/cloud/gce.ipxe new file mode 100644 index 000000000..95330d718 --- /dev/null +++ b/src/config/cloud/gce.ipxe @@ -0,0 +1,7 @@ +#!ipxe + +echo Google Compute Engine - iPXE boot via metadata +ifstat || +dhcp || +route || +chain -ar http://metadata.google.internal/computeMetadata/v1/instance/attributes/ipxeboot diff --git a/src/config/cloud/general.h b/src/config/cloud/general.h index e69de29bb..99028c147 100644 --- a/src/config/cloud/general.h +++ b/src/config/cloud/general.h @@ -0,0 +1,4 @@ +/* Allow retrieval of metadata (such as an iPXE boot script) from + * Google Compute Engine metadata server. + */ +#define HTTP_HACK_GCE |
