Created
February 14, 2021 15:17
-
-
Save Celant/a9d5cfb9abf5bba78b6cd723fb0ab92f to your computer and use it in GitHub Desktop.
0001-fix-fetch-datasource-after-init.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
From a922e4d74353237432d667e45f092ab31e7cb693 Mon Sep 17 00:00:00 2001 | |
From: Josh Harris <me@celant.co.uk> | |
Date: Sun, 14 Feb 2021 14:21:33 +0000 | |
Subject: [PATCH] fix: fetch datasource after init | |
--- | |
cloudinit/config/cc_vyos.py | 1 + | |
1 file changed, 1 insertion(+) | |
diff --git a/cloudinit/config/cc_vyos.py b/cloudinit/config/cc_vyos.py | |
index e472a1cd..4879995d 100644 | |
--- a/cloudinit/config/cc_vyos.py | |
+++ b/cloudinit/config/cc_vyos.py | |
@@ -455,6 +455,7 @@ def handle(name, cfg, cloud, log, _args): | |
logger.debug("Vendor-Data: {}".format(vendordata)) | |
# Network-config | |
init_stage = Init() | |
+ init_stage.fetch() | |
(netcfg, netcfg_src) = init_stage._find_networking_config() | |
logger.debug("Network-config: {}".format(netcfg)) | |
logger.debug("Network-config source: {}".format(netcfg_src)) | |
-- | |
2.25.1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment