git://git.onelab.eu
/
nodeconfig.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
b150e95
)
revert this one to (should have done it while reverting BM).
author
Barış Metin
<Talip-Baris.Metin@sophia.inria.fr>
Fri, 27 Nov 2009 10:32:39 +0000
(10:32 +0000)
committer
Barış Metin
<Talip-Baris.Metin@sophia.inria.fr>
Fri, 27 Nov 2009 10:32:39 +0000
(10:32 +0000)
yum/myplc.repo.php
patch
|
blob
|
history
diff --git
a/yum/myplc.repo.php
b/yum/myplc.repo.php
index
01b4a97
..
e76be48
100644
(file)
--- a/
yum/myplc.repo.php
+++ b/
yum/myplc.repo.php
@@
-40,7
+40,6
@@
if ( ! isset($_REQUEST['slicefamily'])) {
# the nodegroups the node is part of
$nodegroup_names=array();
# the nodegroups the node is part of
$nodegroup_names=array();
-$deployment = "";
if ( ! isset($_REQUEST['node_id'])) {
print "# Warning : node_id not set\n";
} else {
if ( ! isset($_REQUEST['node_id'])) {
print "# Warning : node_id not set\n";
} else {
@@
-55,23
+54,11
@@
if ( ! isset($_REQUEST['node_id'])) {
$nodegroup_names [] = $nodegroup_name;
echo "# in nodegroup $nodegroup_name \n" ;
}
$nodegroup_names [] = $nodegroup_name;
echo "# in nodegroup $nodegroup_name \n" ;
}
- $node_tag_ids = $nodes[0]['node_tag_ids'];
- $node_tags = $adm->GetNodeTags($node_tag_ids);
- foreach ($node_tags as $node_tag) {
- if ($node_tag['tagname'] == 'deployment') {
- $deployment = $node_tag['value'];
- break;
- }
- }
}
$topdir=$_SERVER['DOCUMENT_ROOT'] . "/install-rpms/";
$topurl="https://$PLC_BOOT_HOST" . "/install-rpms/";
}
$topdir=$_SERVER['DOCUMENT_ROOT'] . "/install-rpms/";
$topurl="https://$PLC_BOOT_HOST" . "/install-rpms/";
-if ($deployment == 'alpha') {
- $topdir = $topdir . "alpha/";
- $topurl = $topurl . "alpha/";
-}
# locate the planetlab repo for this node family & nodegroup
$repo=NULL;
# locate the planetlab repo for this node family & nodegroup
$repo=NULL;