Blame SOURCES/legacy-providers.patch

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