diff --git a/jobs/bosh-dns/templates/bosh_dns_ctl.erb b/jobs/bosh-dns/templates/bosh_dns_ctl.erb index 7e0d273b6..8899e6e68 100644 --- a/jobs/bosh-dns/templates/bosh_dns_ctl.erb +++ b/jobs/bosh-dns/templates/bosh_dns_ctl.erb @@ -57,7 +57,7 @@ function create_network_interface() { ip addr add <%= p('address') %>/32 dev bosh-dns ip link set bosh-dns up resolvectl dns bosh-dns <%= p('address') %> - resolvectl log-level <%= p('log_level')%> + resolvectl log-level <%= {'DEBUG' => 'debug', 'INFO' => 'info', 'WARN' => 'warning', 'ERROR' => 'err', 'NONE' => 'emerg'}[p('log_level')] %> fi }