From e756e57b5d80402e07d39a87bc21ac5b6a040ef3 Mon Sep 17 00:00:00 2001 From: Will Woods Date: Mon, 29 Aug 2011 15:08:06 -0400 Subject: [PATCH] add "livenet" module to initramfs --- src/pylorax/__init__.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/pylorax/__init__.py b/src/pylorax/__init__.py index ddd047ae..5ed988de 100644 --- a/src/pylorax/__init__.py +++ b/src/pylorax/__init__.py @@ -230,7 +230,8 @@ class Lorax(BaseLoraxClass): runtime=runtime, templatedir=templatedir) logger.info("rebuilding initramfs images") - treebuilder.rebuild_initrds(add_args=["--xz", "--omit", "plymouth"]) + dracut_args=["--xz", "--add", "livenet", "--omit", "plymouth"] + treebuilder.rebuild_initrds(add_args=dracut_args) logger.info("populating output tree and building boot images") treebuilder.build()