From 8c9c65165d14cd82b3a150f34a6298a951981232 Mon Sep 17 00:00:00 2001 From: qilongzhao Date: Mon, 20 Feb 2017 23:45:43 +0800 Subject: [PATCH] SSH found that the host instantiation template does not change the discovery mode Change-Id: I7ba217890db633e310fc94f62c86a67f82100643 --- code/daisy/daisy/api/v1/host_template.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/code/daisy/daisy/api/v1/host_template.py b/code/daisy/daisy/api/v1/host_template.py index 28965e9b..f5efc422 100755 --- a/code/daisy/daisy/api/v1/host_template.py +++ b/code/daisy/daisy/api/v1/host_template.py @@ -482,7 +482,8 @@ class Controller(controller.BaseController): host_id) ignore_ssh_key_list = ["root_disk", "root_lv_size", "swap_lv_size", "isolcpus", "os_version_file", "os_version_id", - "root_pwd", "hugepages", "hugepagesize"] + "root_pwd", "hugepages", "hugepagesize", + "discover_mode"] if ssh_host_flag: for ignore_key in ignore_ssh_key_list: if host_template_used.get(ignore_key, None):