Skip to content

Commit df1fa2a

Browse files
authored
Merge pull request #4 from cmbrehm/fix/pc3.6
argh
2 parents 8107240 + 363b082 commit df1fa2a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

scripts/Cloud9-Bootstrap.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ export FSX
5454
/usr/bin/envsubst '${SLURM_DB_ENDPOINT}' < "1click-hpc/enginframe/mysql/efdb.config" > efdb.config
5555
/usr/bin/envsubst '${SLURM_DB_ENDPOINT}' < "1click-hpc/enginframe/efinstall.config" > efinstall.config
5656
/usr/bin/envsubst '${S3_BUCKET}' < "1click-hpc/enginframe/fm.browse.ui" > fm.browse.ui
57-
/usr/bin/envsubst '${S3_BUCKET}' < "1click-hpc/scripts/post.install.sh" > post.install.sh
57+
/usr/bin/envsubst '${POST_INSTALL}' < "1click-hpc/scripts/post.install.sh" > post.install.sh
5858

5959
aws s3 cp --quiet efinstall.config "s3://${S3_BUCKET}/1click-hpc/enginframe/efinstall.config" --region "${AWS_REGION_NAME}"
6060
aws s3 cp --quiet fm.browse.ui "s3://${S3_BUCKET}/1click-hpc/enginframe/fm.browse.ui" --region "${AWS_REGION_NAME}"

scripts/post.install.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ main() {
4646
TMP_MODULES_DIR="/tmp/modules/"
4747
export host_name=$(hostname -s)
4848
export SLURM_CONF_FILE="/opt/slurm/etc/pcluster/slurm_parallelcluster_*_partition.conf"
49-
post_install_url=$(dirname ${S3_BUCKET})
49+
post_install_url=$(dirname ${POST_INSTALL})
5050
export post_install_base=$(dirname "${post_install_url}")
5151
SLURM_ROOT="/opt/slurm"
5252
export SLURM_ETC="${SLURM_ROOT}/etc"

0 commit comments

Comments
 (0)