File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -273,10 +273,12 @@ aws s3 cp ./rstudio.tar.gz s3://"$bucketname/"
273273rm -f rstudio.tar.gz
274274cp ./PCluster/machine-images/config/infra/files/pcluster/slurm-main.yaml ./PCluster/machine-images/config/infra/files/pcluster/slurm.yaml
275275cp ./PCluster/machine-images/config/infra/files/pcluster/batch-main.yaml ./PCluster/machine-images/config/infra/files/pcluster/batch.yaml
276- sed -i ' s/tempbucket/$bucketname/g' ./PCluster/machine-images/config/infra/files/pcluster/slurm.yaml
277- sed -i ' s/tempbucket/$bucketname/g' ./PCluster/machine-images/config/infra/files/pcluster/batch.yaml
276+ sed -i " s/tempbucket/$bucketname /g" ./PCluster/machine-images/config/infra/files/pcluster/slurm.yaml
277+ sed -i " s/tempbucket/$bucketname /g" ./PCluster/machine-images/config/infra/files/pcluster/batch.yaml
278278tar -czf PCluster.tar.gz PCluster/*
279279aws s3 cp ./PCluster.tar.gz s3://" $bucketname /"
280+ rm -f ./PCluster/machine-images/config/infra/files/pcluster/slurm.yaml
281+ rm -f ./PCluster/machine-images/config/infra/files/pcluster/batch.yaml
280282rm -f PCluster.tar.gz
281283
282284echo " Copying Database seed-data files to new bucket"
You can’t perform that action at this time.
0 commit comments