Blame SOURCES/legacy-providers.patch

e77872
diff --git a/src/metadata.rs b/src/metadata.rs
e77872
index ececef15e11e..36f556789159 100644
e77872
--- a/src/metadata.rs
e77872
+++ b/src/metadata.rs
e77872
@@ -49,6 +49,7 @@ pub fn fetch_metadata(provider: &str) -> Result
e77872
     match provider {
e77872
         "aliyun" => box_result!(AliyunProvider::try_new()?),
e77872
         "aws" => box_result!(AwsProvider::try_new()?),
e77872
+        "ec2" => box_result!(AwsProvider::try_new()?),
e77872
         "azure" => box_result!(Azure::try_new()?),
e77872
         "azurestack" => box_result!(AzureStack::try_new()?),
e77872
         "cloudstack-metadata" => box_result!(CloudstackNetwork::try_new()?),
e77872
@@ -56,6 +57,7 @@ pub fn fetch_metadata(provider: &str) -> Result
e77872
         "digitalocean" => box_result!(DigitalOceanProvider::try_new()?),
e77872
         "exoscale" => box_result!(ExoscaleProvider::try_new()?),
e77872
         "gcp" => box_result!(GcpProvider::try_new()?),
e77872
+        "gce" => box_result!(GcpProvider::try_new()?),
e77872
         // IBM Cloud - VPC Generation 2.
e77872
         "ibmcloud" => box_result!(IBMGen2Provider::try_new()?),
e77872
         // IBM Cloud - Classic infrastructure.