UNCLASSIFIED

Skip to content
Snippets Groups Projects
Commit 2cf02291 authored by Luke ODonnell's avatar Luke ODonnell
Browse files

Update test.sh

parent 2e57af83
Branches
No related merge requests found
......@@ -37,7 +37,7 @@ function setup_volume {
mkdir /home
mount "/dev/${volume}1" /home
#grab volume UUID and make /etc/fstab entry
vol_UUID=$(ls -halF /dev/disk/by-uuid/ | grep "$volume" | cut -d' ' -f10)
vol_UUID=$(ls -halF /dev/disk/by-uuid/ | grep "$volume" | cut -d' ' -f11)
echo "UUID=${vol_UUID} /home ext4 defaults 0 0" >> /etc/fstab
}
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment