In a Jinja2 template designed for Junos configuration, how do you correctly output the value of a variable named 'hostname'?
Correct. Double curly braces output the evaluated value of a variable.
Why this answer
Jinja2 uses double curly braces to print or evaluate variables.