aboutsummaryrefslogtreecommitdiffstats
path: root/deploy/adapters/cobbler/snippets/restore_boot_device
diff options
context:
space:
mode:
Diffstat (limited to 'deploy/adapters/cobbler/snippets/restore_boot_device')
-rw-r--r--deploy/adapters/cobbler/snippets/restore_boot_device12
1 files changed, 6 insertions, 6 deletions
diff --git a/deploy/adapters/cobbler/snippets/restore_boot_device b/deploy/adapters/cobbler/snippets/restore_boot_device
index 5baa801e..1b54e1f4 100644
--- a/deploy/adapters/cobbler/snippets/restore_boot_device
+++ b/deploy/adapters/cobbler/snippets/restore_boot_device
@@ -1,6 +1,6 @@
-if [ "$os_version" == "sles11" ]; then
- nvsetenv boot-device "$(cat /root/inst-sys/boot-device.bak)"
-elif [ "$os_version" == "fedora17" ]; then
- # must be run from a %post --nochroot section
- nvsetenv boot-device "$(cat /tmp/boot-device.bak)"
-fi
+if [ "$os_version" == "sles11" ]; then
+ nvsetenv boot-device "$(cat /root/inst-sys/boot-device.bak)"
+elif [ "$os_version" == "fedora17" ]; then
+ # must be run from a %post --nochroot section
+ nvsetenv boot-device "$(cat /tmp/boot-device.bak)"
+fi