summaryrefslogtreecommitdiff
path: root/data/templates/grub/grub_common.j2
diff options
context:
space:
mode:
Diffstat (limited to 'data/templates/grub/grub_common.j2')
-rw-r--r--data/templates/grub/grub_common.j25
1 files changed, 3 insertions, 2 deletions
diff --git a/data/templates/grub/grub_common.j2 b/data/templates/grub/grub_common.j2
index 78df3f48c..278ffbf2c 100644
--- a/data/templates/grub/grub_common.j2
+++ b/data/templates/grub/grub_common.j2
@@ -18,5 +18,6 @@ function setup_serial {
setup_serial
-# find root device
-#search --no-floppy --fs-uuid --set=root ${root_uuid}
+{% if search_root %}
+{{ search_root }}
+{% endif %}