diff options
author | sawanoboly <sawanoboriyu@higanworks.com> | 2019-12-10 15:43:35 +0900 |
---|---|---|
committer | sawanoboly <sawanoboriyu@higanworks.com> | 2019-12-10 15:43:44 +0900 |
commit | 98c462456079842e3c46a8e472f1b8e5a5711288 (patch) | |
tree | 989638b9bdfe07c77d0f3b32f69b5c5ec7717c5f | |
parent | e0408de463ab9b2138d11f39fadf0034fe7eb830 (diff) | |
download | chef-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.erb | 2 |
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 %> |