summaryrefslogtreecommitdiff
path: root/tests/unittests/test_datasource/test_common.py
diff options
context:
space:
mode:
authorJames Falcon <james.falcon@canonical.com>2021-12-02 08:51:26 -0600
committerGitHub <noreply@github.com>2021-12-02 08:51:26 -0600
commitcf38c2cbc5875813fbb9858f45e5b95789b7ffea (patch)
treec345dc97de1c17488fe6c27697f48f0febae6de6 /tests/unittests/test_datasource/test_common.py
parenta1cf55e5e6331b9b3a4f9ceb412dd14c78abb5ea (diff)
downloadvyos-cloud-init-cf38c2cbc5875813fbb9858f45e5b95789b7ffea.tar.gz
vyos-cloud-init-cf38c2cbc5875813fbb9858f45e5b95789b7ffea.zip
Move GCE metadata fetch to init-local (SC-502) (#1122)
GCE currently fetches metadata after network has come up. There's no reason we can't fetch at init-local time, so update GCE to fetch at init-local time to be more performant and consistent with other datasources.
Diffstat (limited to 'tests/unittests/test_datasource/test_common.py')
-rw-r--r--tests/unittests/test_datasource/test_common.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/unittests/test_datasource/test_common.py b/tests/unittests/test_datasource/test_common.py
index 17d53160..9089e5de 100644
--- a/tests/unittests/test_datasource/test_common.py
+++ b/tests/unittests/test_datasource/test_common.py
@@ -41,6 +41,7 @@ DEFAULT_LOCAL = [
CloudSigma.DataSourceCloudSigma,
ConfigDrive.DataSourceConfigDrive,
DigitalOcean.DataSourceDigitalOcean,
+ GCE.DataSourceGCELocal,
Hetzner.DataSourceHetzner,
IBMCloud.DataSourceIBMCloud,
LXD.DataSourceLXD,