updated variable name
diff --git a/templates/silent-install.conf.j2 b/templates/silent-install.conf.j2
index 312c207..002e6d7 100644
--- a/templates/silent-install.conf.j2
+++ b/templates/silent-install.conf.j2
@@ -50,8 +50,8 @@
 
 SMTPMAILFROM="{{ opdk_smtp_mail_from }} <{{  opdk_user_email }}>"
 
-SKIP_SMTP={{ opdk_skip_smtp }}
-{% if opdk_skip_smtp | trim == 'n' %}
+SKIP_SMTP={{ opdk_smtp_skip }}
+{% if opdk_smtp_skip | trim == 'n' %}
 SMTPHOST={{ opdk_smtp_host }}
 SMTPPORT={{ opdk_smtp_port }}
 SMTPUSER={{ opdk_smtp_user }}