summaryrefslogtreecommitdiffstats
path: root/deploy/adapters/cobbler/snippets/save_boot_device
blob: 2afb63f080c58cb5a8289fa84d040bca3d864897 (plain)
1
2
3
4
5
if [ "$os_version" == "sles11" ]; then
    nvram --print-config=boot-device > /root/boot-device.bak
elif [ "$os_version" == "fedora17" ]; then
    nvram --print-config=boot-device > /tmp/boot-device.bak
fi