summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsawanoboly <sawanoboriyu@higanworks.com>2019-12-10 15:43:35 +0900
committersawanoboly <sawanoboriyu@higanworks.com>2019-12-10 15:43:44 +0900
commit98c462456079842e3c46a8e472f1b8e5a5711288 (patch)
tree989638b9bdfe07c77d0f3b32f69b5c5ec7717c5f
parente0408de463ab9b2138d11f39fadf0034fe7eb830 (diff)
downloadchef-98c462456079842e3c46a8e472f1b8e5a5711288.tar.gz
use @config to picks up default.
Signed-off-by: sawanoboly <sawanoboriyu@higanworks.com>
-rw-r--r--lib/chef/knife/bootstrap/templates/chef-full.erb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/knife/bootstrap/templates/chef-full.erb b/lib/chef/knife/bootstrap/templates/chef-full.erb
index 66516b128a..9bb4f5050b 100644
--- a/lib/chef/knife/bootstrap/templates/chef-full.erb
+++ b/lib/chef/knife/bootstrap/templates/chef-full.erb
@@ -177,7 +177,7 @@ do_download() {
else
echo "-----> Installing Chef Omnibus (<%= @config[:channel] %>/<%= version_to_install %>)"
do_download ${install_sh} $tmp_dir/install.sh
- sh $tmp_dir/install.sh -P <%= knife_config[:bootstrap_project] %> -c <%= @config[:channel] %> -v <%= version_to_install %>
+ sh $tmp_dir/install.sh -P <%= @config[:bootstrap_project] %> -c <%= @config[:channel] %> -v <%= version_to_install %>
fi
<% end %>