Changeset a8b42b5
- Timestamp:
- Sep 16, 2008 5:14:34 PM (16 years ago)
- Branches:
- axis_example, compt_changes, info-ops, master, version-1.30, version-2.00, version-3.01, version-3.02
- Children:
- 9d207bd
- Parents:
- 291423b
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
fedd/fedd_create_experiment.py
r291423b ra8b42b5 312 312 313 313 if not self.scp_file("%s/%s/%s" % (tmpdir, tb, tclfile), user, host): 314 return False 315 # Clear the federation files 316 if not self.ssh_cmd(user, host, 317 "/bin/sh -c \"'/bin/rm -rf %s'\"" % proj_dir): 318 return False 319 if not self.ssh_cmd(user, host, 320 "/bin/sh -c \"'mkdir -p %s'\"" % proj_dir): 314 321 return False 315 322 # Clear and create the tarfiles and rpm directories … … 943 950 try: 944 951 cc = open("%s/%s/seer.conf" % 945 (self.tmpdir, self.current_gateways), 'w') 946 print >>cc, "ControlNode: %s" % \ 947 self.control_gateway 952 (self.tmpdir, self.current_gateways), 953 'w') 954 if self.current_gateways != self.master: 955 print >>cc, "ControlNode: %s" % \ 956 self.control_gateway 948 957 print >>cc, "ExperimentID: %s/%s" % \ 949 958 ( tbparams[self.master]['project'], \
Note: See TracChangeset
for help on using the changeset viewer.