diff --git a/tests/roles/bootstrap-host/templates/rpm_interface_ifdown-post.cfg.j2 b/tests/roles/bootstrap-host/templates/rpm_interface_ifdown-post.cfg.j2 index 5e664bebbd..e35945dfa2 100644 --- a/tests/roles/bootstrap-host/templates/rpm_interface_ifdown-post.cfg.j2 +++ b/tests/roles/bootstrap-host/templates/rpm_interface_ifdown-post.cfg.j2 @@ -16,8 +16,8 @@ source /etc/os-release || source /usr/lib/os-release case "${ID}" in - *suse*) INTERFACE="${1}"; break ;; - centos|rhel|fedora) INTERFACE="${DEVICE}"; break ;; + *suse*) INTERFACE="${1}"; ;; + centos|rhel|fedora) INTERFACE="${DEVICE}"; ;; *) echo "Unsupported distribution ${ID}"; exit 1; esac diff --git a/tests/roles/bootstrap-host/templates/rpm_interface_ifup-post.cfg.j2 b/tests/roles/bootstrap-host/templates/rpm_interface_ifup-post.cfg.j2 index c4670e6c16..807b1cae46 100644 --- a/tests/roles/bootstrap-host/templates/rpm_interface_ifup-post.cfg.j2 +++ b/tests/roles/bootstrap-host/templates/rpm_interface_ifup-post.cfg.j2 @@ -16,8 +16,8 @@ source /etc/os-release || source /usr/lib/os-release case "${ID}" in - *suse*) INTERFACE="${1}"; break ;; - centos|rhel|fedora) INTERFACE="${DEVICE}"; break ;; + *suse*) INTERFACE="${1}"; ;; + centos|rhel|fedora) INTERFACE="${DEVICE}"; ;; *) echo "Unsupported distribution ${ID}"; exit 1; esac