summaryrefslogtreecommitdiffstats
path: root/pyanaconda/bootloader.py
diff options
context:
space:
mode:
authorVratislav Podzimek <vpodzime@redhat.com>2012-10-16 10:07:05 +0200
committerVratislav Podzimek <vpodzime@redhat.com>2012-10-17 10:29:50 +0200
commit2f79819d26eb481487ab338a0d211d70d79c6ac4 (patch)
tree49bfe2d66a544486875bd4b76b0bee0d1956cdab /pyanaconda/bootloader.py
parent4a6893010a4d81e40d0250f247ca077295cea0a9 (diff)
downloadanaconda-2f79819d26eb481487ab338a0d211d70d79c6ac4.tar.gz
anaconda-2f79819d26eb481487ab338a0d211d70d79c6ac4.tar.xz
anaconda-2f79819d26eb481487ab338a0d211d70d79c6ac4.zip
There is no anaconda object available in writeSysconfigKernel
This change was introduced in commit c308c8978e2d27 that is a port from rhel6-branch where we use anaconda.id.bootloader instead of storage.bootloader.
Diffstat (limited to 'pyanaconda/bootloader.py')
-rw-r--r--pyanaconda/bootloader.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pyanaconda/bootloader.py b/pyanaconda/bootloader.py
index 58c3690e7..c0c12df1e 100644
--- a/pyanaconda/bootloader.py
+++ b/pyanaconda/bootloader.py
@@ -2140,7 +2140,7 @@ def writeSysconfigKernel(storage, version):
f.write("\n")
f.write("# DEFAULTKERNEL specifies the default kernel package type\n")
f.write("DEFAULTKERNEL=%s\n" % kernel)
- if anaconda.id.bootloader.trusted_boot:
+ if storage.bootloader.trusted_boot:
f.write("# HYPERVISOR specifies the default multiboot kernel\n")
f.write("HYPERVISOR=/boot/tboot.gz\n")
f.write("HYPERVISOR_ARGS=logging=vga,serial,memory\n")