diff --git a/installsystems/template.py b/installsystems/template.py
index 4655c22680db513bcbb52a17bca9eb9f551e8b4f..cbcd614761bbba99cd97825d817a15e5fad5b284 100644
--- a/installsystems/template.py
+++ b/installsystems/template.py
@@ -12,7 +12,7 @@ author =
 parser = """# -*- python -*-
 # -*- coding: utf-8 -*-
 
-parser.add_argument("-n", "--hostname", dest="hostname", type=str)
+parser.add_argument("-n", "--hostname", dest="hostname", type=str, required=True)
 
 # vim:set ts=2 sw=2 noet:
 """