File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -271,6 +271,13 @@ rm -f nextflow-advanced.tar.gz
271271tar -czf rstudio.tar.gz RStudio/*
272272aws s3 cp ./rstudio.tar.gz s3://" $bucketname /"
273273rm -f rstudio.tar.gz
274+ cp ./PCluster/machine-images/config/infra/files/pcluster/slurm-main.yaml ./PCluster/machine-images/config/infra/files/pcluster/slurm.yaml
275+ cp ./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
278+ tar -czf PCluster.tar.gz PCluster/*
279+ aws s3 cp ./PCluster.tar.gz s3://" $bucketname /"
280+ rm -f PCluster.tar.gz
274281
275282echo " Copying Database seed-data files to new bucket"
276283cd " $localhome " || exit
You can’t perform that action at this time.
0 commit comments