fix createTemplate command for baremetal