Commit 08a05b25 authored by Leigh B Stoller's avatar Leigh B Stoller
Browse files

Minor bug fix; remove scratch dir from fstab.

parent c22379e2
......@@ -1395,6 +1395,9 @@ sub disk_hacks($)
# remove swap partitions from fstab
system("sed -i.bak -e '/swap/d' $path/etc/fstab");
# remove scratch partitions from fstab
system("sed -i.bak -e '/scratch/d' $path/etc/fstab");
# fixup fstab: change UUID=blah to LABEL=/
system("sed -i.bak -e 's/UUID=[0-9a-f-]*/LABEL=\\//' $path/etc/fstab");
Supports Markdown
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