Commit c40311db authored by Leigh B. Stoller's avatar Leigh B. Stoller

Make ops:/etc/emulab directorst exists before trying to scp a file to

it (thereby creating a file of that name) ...
parent b7b143f8
......@@ -769,6 +769,8 @@ Phase "sslcerts", "Setting up SSL certificates", sub {
ExecQuietFatal("$GMAKE -C $TOP_OBJDIR/ssl remote-site-boss-install");
};
Phase "sslopscopy", "Copying SSL certificates to ops", sub {
ExecQuietFatal("$SSH -o 'BatchMode=yes' root\@${USERNODE} ".
" mkdir -p ${ETC_EMULAB_DIR} ");
ExecQuietFatal("$SCP $PREFIX/etc/$EMULAB_PEM ".
" ${USERNODE}:${ETC_EMULAB_DIR}");
ExecQuietFatal("$SCP $TOP_OBJDIR/ssl/$CTRLNODE_PEM".
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment