From c089b479f120f64560231624351a403839d3a7e7 Mon Sep 17 00:00:00 2001 From: "Brian C. Lane" Date: Tue, 20 Dec 2011 10:39:05 -0800 Subject: [PATCH] dracut has moved to /usr/bin --- src/pylorax/treebuilder.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pylorax/treebuilder.py b/src/pylorax/treebuilder.py index 57cf5302..5618196d 100644 --- a/src/pylorax/treebuilder.py +++ b/src/pylorax/treebuilder.py @@ -162,7 +162,7 @@ class TreeBuilder(object): '''Rebuild all the initrds in the tree. If backup is specified, each initrd will be renamed with backup as a suffix before rebuilding. If backup is empty, the existing initrd files will be overwritten.''' - dracut = ["/sbin/dracut", "--noprefix", "--nomdadmconf", "--nolvmconf"] + add_args + dracut = ["dracut", "--noprefix", "--nomdadmconf", "--nolvmconf"] + add_args if not backup: dracut.append("--force") # Hush some dracut warnings. TODO: bind-mount proc in place?