diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2018-08-17 20:40:43 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2018-08-17 20:40:43 -0300 |
commit | b0064a62765f6109d3f2ac1a831799c63515969a (patch) | |
tree | 93b08b0ec990c34d243ab23b444b5a599011d8c6 /share/hydractl | |
parent | 850a05589efaa3370a89b7702bedbaf915886b45 (diff) | |
download | hydra-b0064a62765f6109d3f2ac1a831799c63515969a.tar.gz hydra-b0064a62765f6109d3f2ac1a831799c63515969a.tar.bz2 |
Use UUID for boot device
Diffstat (limited to 'share/hydractl')
-rwxr-xr-x | share/hydractl/provision | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/share/hydractl/provision b/share/hydractl/provision index 32a2b7a..24796a9 100755 --- a/share/hydractl/provision +++ b/share/hydractl/provision @@ -208,10 +208,11 @@ else # Use UUID # Give time to devices table be updated #sleep 2 - #reboot_device="`blkid | grep ^$boot_device: | cut -d ' ' -f 2 | sed -e 's/"//g'`" + reboot_device="`blkid | grep ^$boot_device: | cut -d ' ' -f 2 | sed -e 's/"//g'`" - # Use device name - reboot_device="$boot_device" + # Use device name: might lead to wrong results: + # During install boot_device might be /dev/sdb2, but on but be /dev/sda2 + #reboot_device="$boot_device" fi fi |