NS->profile conversion error: wrong shell for `tb-set-node-startcmd`
For this NS syntax:
tb-set-node-startcmd $imp \
{scp -p users.emulab.net:/proj/$PID/startcmds/$EID.sh /tmp && \
chmod +x /tmp/$EID.sh && \
/tmp/$EID.sh $MNT/$PID >& /tmp/$EID.log}
The converter yields:
node0.addService(pg.Execute('sh','scp -p users.emulab.net:/proj/$PID/startcmds/$EID.sh /tmp && chmod +x /tmp/$EID.sh && /tmp/$EID.sh /disk2/$PID > /tmp/$EID.log 2>&1'))
This is not quite right, because tb-set-node-startcmd
commands are run by /bin/csh
, not sh
.