From 1478da28aaf495abf2b7b014d341db81b3993649 Mon Sep 17 00:00:00 2001 From: Michael DeHaan Date: Fri, 27 Jun 2008 14:38:21 -0400 Subject: Fix kickstart rendering bug --- cobbler/templar.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cobbler') diff --git a/cobbler/templar.py b/cobbler/templar.py index edfd5f2..afd9715 100644 --- a/cobbler/templar.py +++ b/cobbler/templar.py @@ -64,7 +64,7 @@ class Templar: # directive instead. Do this to make the templates work. newdata = "" if search_table.has_key("tree") and search_table["tree"].startswith("nfs://"): - for line in data.split("\n"): + for line in raw_data.split("\n"): if line.find("--url") != -1 and line.find("url ") != -1: rest = search_table["tree"][6:] # strip off "nfs://" part try: -- cgit