diff options
author | zdc <zdc@users.noreply.github.com> | 2021-08-16 15:34:26 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-08-16 15:34:26 +0300 |
commit | 431fe74d310480dc6c83642a89fc9a982fcc8c7b (patch) | |
tree | ab29d880232fc234616916672c8c580c22c981e9 | |
parent | 34346ee6ea7ff60c4d3c041482b686cdbc7614ab (diff) | |
parent | a6d412b45a90feb4d2f53f69d4ff298bc5950446 (diff) | |
download | vyos-cloud-init-431fe74d310480dc6c83642a89fc9a982fcc8c7b.tar.gz vyos-cloud-init-431fe74d310480dc6c83642a89fc9a982fcc8c7b.zip |
Merge pull request #48 from zdc/T3735-cruxcrux
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 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() |