summaryrefslogtreecommitdiff
path: root/cloudinit/config/cc_vyos_userdata.py
diff options
context:
space:
mode:
Diffstat (limited to 'cloudinit/config/cc_vyos_userdata.py')
-rw-r--r--cloudinit/config/cc_vyos_userdata.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/cloudinit/config/cc_vyos_userdata.py b/cloudinit/config/cc_vyos_userdata.py
index c10e417a..d50bb2b5 100644
--- a/cloudinit/config/cc_vyos_userdata.py
+++ b/cloudinit/config/cc_vyos_userdata.py
@@ -57,7 +57,7 @@ def get_multi_nodes():
# search for node.def files
node_def_files = Path(TEMPLATES_DIR).rglob('node.def')
# prepare filter to match multi node files
- regex_filter = re.compile(r'^multi:$', re.MULTILINE)
+ regex_filter = re.compile(r'^multi:.*$', re.MULTILINE)
# add each node.def with multi mark to list
for node_def_file in node_def_files:
file_content = node_def_file.open().read()