+if [ "$1" = "server" ] && [ ! "$2" = "personal" ] && [ ! "$2" = "public" ]; then
+ echo "Need server purpose."
+ false
+fi
+if [ "$2" = "personal" ] && [ ! "$3" = "test.plomlompom.com" ] && \
+ [ ! "$3" = "plomlompom.com" ]; then
+ echo "Need server domain"
+ false
+fi
+
+# Some important variables
+if [ "$3" = "plomlompom.com" ]; then
+ hostname="plomlompom"
+elif [ "$3" = "test.plomlompom.com" ]; then
+ hostname="test.plomlompom"
+elif [ "$2" = "public" ]; then
+ hostname="twtxt.plomlompom"
+elif [ "$2" = "X200s" ]; then
+ hostname="X220s"
+elif [ "$2" = "T450s" ]; then
+ hostname="T450s"
+fi