- Get the URL for the production /etc/yum.conf file
authorMark Huang <mlhuang@cs.princeton.edu>
Fri, 2 Sep 2005 01:43:49 +0000 (01:43 +0000)
committerMark Huang <mlhuang@cs.princeton.edu>
Fri, 2 Sep 2005 01:43:49 +0000 (01:43 +0000)
vserver-reference.init

index 07d01ab..bd9e48a 100755 (executable)
@@ -8,10 +8,11 @@
 # Mark Huang <mlhuang@cs.princeton.edu>
 # Copyright (C) 2004-2005 The Trustees of Princeton University
 #
-# $Id: vserver-reference.init,v 1.13 2005/09/01 17:51:26 mlhuang Exp $
+# $Id: vserver-reference.init,v 1.14 2005/09/01 18:55:11 mlhuang Exp $
 #
 
-YUM_CONF="http://www.planet-lab.org/PlanetLabConf/v3-yum.conf"
+# Get the URL for the production /etc/yum.conf file
+YUM_CONF=http://www.planet-lab.org/$(curl --form node_id=0 --form file=/etc/yum.conf https://www.planet-lab.org/db/plnodeconf/getsinglefile.php)
 
 # Make /vservers
 VROOT=$PWD/vservers/vserver-reference