# Mark Huang <mlhuang@cs.princeton.edu>
# Copyright (C) 2004-2006 The Trustees of Princeton University
#
-# $Id: mkfedora,v 1.15 2006/07/06 02:44:22 mlhuang Exp $
+# $Id: mkfedora,v 1.16 2006/07/06 22:55:47 mlhuang Exp $
#
export PATH=/sbin:/bin:/usr/sbin:/usr/bin
# Exclude kernel* (and related) packages from all repositories except bootstrap
exclude_kernel=
-# Local overrides (usually a better set of mirrors to choose from)
-if [ -f /etc/planetlab/mkfedora.conf ] ; then
- . /etc/planetlab/mkfedora.conf
+# PlanetLab development environment
+if [ -f /etc/planetlab/plc_config ] ; then
+ . /etc/planetlab/plc_config
+ if [ -n "$PLC_DEVEL_FEDORA_URL" ] ; then
+ mirrors=($PLC_DEVEL_FEDORA_URL)
+ fi
fi
usage()
}
# Clean up before exiting if anything goes wrong
-trap "cleanup" ERR
+trap "cleanup" ERR INT
# Create a dummy /etc/fstab in reference image
mkdir -p $vroot/etc