diff --git a/templates/answerfile.j2 b/templates/answerfile.j2
index dcf7e43626c209d39e49a3bd170bdac15ed87685..956f9d69a627d3d4e2ee0c81cae9e0d2374747d8 100644
--- a/templates/answerfile.j2
+++ b/templates/answerfile.j2
@@ -1,5 +1,5 @@
 {% set hostobj = hostvars[inventory_hostname] %}
-export DISTRIBUTION="{{ hostobj.os.distribution }}"
+export DISTRIBUTION="{{ hostobj.os.distribution | lower | regex_replace('^linux.', '') }}"
 export RELEASE="{{ hostobj.os.release }}"
 export ARCH="{{ hostobj.os.architecture }}"
 export MIRROR="{{ system_local_mirror | default(system_home_mirror | default("")) }}"