Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
emulab
emulab-devel
Commits
08a05b25
Commit
08a05b25
authored
Oct 03, 2012
by
Leigh B Stoller
Browse files
Minor bug fix; remove scratch dir from fstab.
parent
c22379e2
Changes
1
Show whitespace changes
Inline
Side-by-side
clientside/tmcc/linux/xen/libvnode_xen.pm
View file @
08a05b25
...
...
@@ -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
");
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment