From 170c31167097a748393d5a969d3d4f76c390a579 Mon Sep 17 00:00:00 2001 From: Dan Prince <dprince@redhat.com> Date: Tue, 6 Mar 2018 08:22:03 -0500 Subject: [PATCH] Add environments/net-noop.yaml This can be used to activate net-config-noop.yaml and disable os-net-config on all roles. Useful if you are using deployed servers and want to pre-configure your networks. Change-Id: I80e5fb586f6de0bccd6245237d23712310c78588 --- environments/net-noop.j2.yaml | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 environments/net-noop.j2.yaml diff --git a/environments/net-noop.j2.yaml b/environments/net-noop.j2.yaml new file mode 100644 index 0000000000..ccd99b0d71 --- /dev/null +++ b/environments/net-noop.j2.yaml @@ -0,0 +1,5 @@ +# This disables network configuration entirely (No-op). +resource_registry: +{%- for role in roles %} + OS::TripleO::{{role.name}}::Net::SoftwareConfig: ../net-config-noop.yaml +{%- endfor %}