git://git.onelab.eu
/
vserver-reference.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
7eaa43b
)
- write a fake mtab so that df works
author
Mark Huang
<mlhuang@cs.princeton.edu>
Fri, 29 Oct 2004 20:29:13 +0000
(20:29 +0000)
committer
Mark Huang
<mlhuang@cs.princeton.edu>
Fri, 29 Oct 2004 20:29:13 +0000
(20:29 +0000)
vserver-reference.init
patch
|
blob
|
history
diff --git
a/vserver-reference.init
b/vserver-reference.init
index
5a0f246
..
24ea95a
100755
(executable)
--- a/
vserver-reference.init
+++ b/
vserver-reference.init
@@
-9,7
+9,7
@@
# Mark Huang <mlhuang@cs.princeton.edu>
# Copyright (C) 2004 The Trustees of Princeton University
#
# Mark Huang <mlhuang@cs.princeton.edu>
# Copyright (C) 2004 The Trustees of Princeton University
#
-# $Id: vserver-reference.init,v 1.
2 2004/10/14 18:37:40
mlhuang Exp $
+# $Id: vserver-reference.init,v 1.
3 2004/10/20 19:55:41
mlhuang Exp $
#
case "$1" in
#
case "$1" in
@@
-88,6
+88,7
@@
cat > $VROOT/etc/fstab <<EOF
# This fake fstab exists only to please df and linuxconf.
/dev/hdv1 / ext2 defaults 1 1
EOF
# This fake fstab exists only to please df and linuxconf.
/dev/hdv1 / ext2 defaults 1 1
EOF
+cp $VROOT/etc/fstab $VROOT/etc/mtab
# Prevent all locales from being installed in reference image
mkdir -p $VROOT/etc/rpm
# Prevent all locales from being installed in reference image
mkdir -p $VROOT/etc/rpm