diff options
author | zdc <zdc@users.noreply.github.com> | 2021-08-11 13:56:10 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-08-11 13:56:10 +0300 |
commit | 73280091a0e137647a8d4b8d4f091d57c245849d (patch) | |
tree | 4d12bbd5ccbbb308d8fbbc52c0d10bf1e6023109 | |
parent | 57b6d5b33843821c71d5ae7fc2c984c39ec2b330 (diff) | |
parent | e79a10207e08cc73a9b2452e396c7556d3ec591f (diff) | |
download | vyos-cloud-init-73280091a0e137647a8d4b8d4f091d57c245849d.tar.gz vyos-cloud-init-73280091a0e137647a8d4b8d4f091d57c245849d.zip |
Merge pull request #46 from zdc/T3735-sagitta
User-Data: T3735: Fixed "multi" nodes type search
-rw-r--r-- | cloudinit/config/cc_vyos_userdata.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cloudinit/config/cc_vyos_userdata.py b/cloudinit/config/cc_vyos_userdata.py index 52313433..95ba82de 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.read_text() |