Make license acceptance permanent

This commit is contained in:
Jamil Bou Kheir
2021-10-05 23:14:51 +00:00
parent 7681490a0f
commit 3cfba29241

View File

@@ -1,7 +1,7 @@
require 'mixlib/shellout'
add_command_under_category 'reconfigure', 'general', 'Reconfigure the application.', 2 do
status = run_chef("#{base_path}/embedded/cookbooks/dna.json", '--chef-license=accept-no-persist')
status = run_chef("#{base_path}/embedded/cookbooks/dna.json", '--chef-license=accept')
if status.success?
log "#{display_name} Reconfigured!"
exit! 0