Skip to content

Commit

Permalink
Allow condor_submit -i to enter a singularity container #6595
Browse files Browse the repository at this point in the history
But not the same container as the main job
  • Loading branch information
GregThain committed Mar 6, 2018
1 parent e296ad2 commit e5b411e
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/condor_starter.V6.1/baseStarter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1577,9 +1577,7 @@ CStarter::startSSHD( int /*cmd*/, Stream* s )
argarray = NULL;


ClassAd *sshd_ad = new ClassAd;
sshd_ad->CopyAttribute(ATTR_REMOTE_USER,jobad);
sshd_ad->CopyAttribute(ATTR_JOB_RUNAS_OWNER,jobad);
ClassAd *sshd_ad = new ClassAd(*jobad);
sshd_ad->Assign(ATTR_JOB_CMD,sshd.Value());
CondorVersionInfo ver_info;
if( !sshd_arglist.InsertArgsIntoClassAd(sshd_ad,&ver_info,&error_msg) ) {
Expand Down

0 comments on commit e5b411e

Please sign in to comment.