diff --git a/CONTRIBUTORS b/CONTRIBUTORS
--- a/CONTRIBUTORS
+++ b/CONTRIBUTORS
@@ -1,3 +1,5 @@
 Sven Heyll <svh@posteo.de>
 lti2000
 rusio
+sainth
+
diff --git a/b9.cabal b/b9.cabal
--- a/b9.cabal
+++ b/b9.cabal
@@ -1,5 +1,5 @@
 name:                b9
-version:             0.5.50
+version:             0.5.51
 
 synopsis:            A tool and library for building virtual machine images.
 
diff --git a/src/lib/B9/Content/AST.hs b/src/lib/B9/Content/AST.hs
--- a/src/lib/B9/Content/AST.hs
+++ b/src/lib/B9/Content/AST.hs
@@ -68,6 +68,7 @@
       -- fields in yaml objects.
       ASTEmbed c -- Embed some pure content.
     | ASTString String -- A string literal.
+    | ASTInt Int -- An Int literal.
     | ASTParse SourceFile -- An 'AST' obtained from parsing a source
                           -- file that contains a string corresponding
     |
diff --git a/src/lib/B9/Content/ErlangPropList.hs b/src/lib/B9/Content/ErlangPropList.hs
--- a/src/lib/B9/Content/ErlangPropList.hs
+++ b/src/lib/B9/Content/ErlangPropList.hs
@@ -103,6 +103,7 @@
                      return x')
             xs
     fromAST (ASTString s) = pure $ ErlangPropList $ ErlString s
+    fromAST (ASTInt i) = pure $ ErlangPropList $ ErlString (show i)
     fromAST (ASTEmbed c) =
         ErlangPropList . ErlString . T.unpack . E.decodeUtf8 <$> render c
     fromAST (ASTMerge []) =
diff --git a/src/lib/B9/Content/YamlObject.hs b/src/lib/B9/Content/YamlObject.hs
--- a/src/lib/B9/Content/YamlObject.hs
+++ b/src/lib/B9/Content/YamlObject.hs
@@ -109,6 +109,7 @@
             ASTEmbed c ->
                 YamlObject . toJSON . T.unpack . E.decodeUtf8 <$> render c
             ASTString str -> return (YamlObject (toJSON str))
+            ASTInt int -> return (YamlObject (toJSON int))
             ASTParse src@(Source _ srcPath) -> do
                 c <- readTemplateFile src
                 case decodeSyntax srcPath c of
