git://git.onelab.eu
/
bootcd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
merge to HEAD as of 2006-08-21
[bootcd.git]
/
prep.sh
diff --git
a/prep.sh
b/prep.sh
index
2688d4d
..
e1164aa
100755
(executable)
--- a/
prep.sh
+++ b/
prep.sh
@@
-8,7
+8,7
@@
# Mark Huang <mlhuang@cs.princeton.edu>
# Copyright (C) 2004-2006 The Trustees of Princeton University
#
# Mark Huang <mlhuang@cs.princeton.edu>
# Copyright (C) 2004-2006 The Trustees of Princeton University
#
-# $Id: prep.sh,v 1.1
0 2006/07/24 15:33:07
mlhuang Exp $
+# $Id: prep.sh,v 1.1
3 2006/08/21 20:45:23
mlhuang Exp $
#
PATH=/sbin:/bin:/usr/sbin:/usr/bin
#
PATH=/sbin:/bin:/usr/sbin:/usr/bin
@@
-32,7
+32,7
@@
basearch=i386
# Packages to install
packagelist=(
# Packages to install
packagelist=(
-dev
+
u
dev
dhclient
bash
coreutils
dhclient
bash
coreutils
@@
-73,6
+73,7
@@
dosfstools
dos2unix
bind-utils
sharutils
dos2unix
bind-utils
sharutils
+vconfig
)
# Unnecessary junk
)
# Unnecessary junk
@@
-167,6
+168,10
@@
popd
# Disable all services in reference image
chroot $bootcd sh -c "/sbin/chkconfig --list | awk '{ print \$1 }' | xargs -i /sbin/chkconfig {} off"
# Disable all services in reference image
chroot $bootcd sh -c "/sbin/chkconfig --list | awk '{ print \$1 }' | xargs -i /sbin/chkconfig {} off"
+# Install ipnmac (for SuperMicro machines with IPMI)
+echo "* Installing IPMI utilities"
+install -D -m 755 ipnmac/ipnmac.x86 $bootcd/usr/sbin/ipnmac
+
# Install configuration files
echo "* Installing configuration files"
for file in fstab mtab modprobe.conf inittab hosts sysctl.conf ; do
# Install configuration files
echo "* Installing configuration files"
for file in fstab mtab modprobe.conf inittab hosts sysctl.conf ; do