This repository was archived by the owner on Aug 16, 2021. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +10
-9
lines changed Expand file tree Collapse file tree 1 file changed +10
-9
lines changed Original file line number Diff line number Diff line change @@ -871,15 +871,7 @@ elif [[ "$RUN_ON" == "aws" ]]; then
871
871
msg " To connect docker machine use:"
872
872
msg " docker \` docker-machine config $DOCKER_MACHINE \` exec -it pg_nancy_${CURRENT_TS} bash"
873
873
874
- containerHash=$( \
875
- docker ` docker-machine config $DOCKER_MACHINE ` run \
876
- --name=" pg_nancy_${CURRENT_TS} " \
877
- -v /home/ubuntu:/machine_home \
878
- -v /home/storage:/storage \
879
- -dit " postgresmen/postgres-with-stuff:pg${PG_VERSION} "
880
- )
881
- dockerConfig=$( docker-machine config $DOCKER_MACHINE )
882
-
874
+ docker-machine ssh $DOCKER_MACHINE " sudo sh -c \" mkdir /home/storage\" "
883
875
if [[ " ${AWS_EC2_TYPE: 0: 2} " == " i3" ]]; then
884
876
msg " Using high-speed NVMe SSD disks"
885
877
# Init i3's NVMe storage, mounting one of the existing volumes to /storage
@@ -912,6 +904,15 @@ elif [[ "$RUN_ON" == "aws" ]]; then
912
904
docker-machine ssh $DOCKER_MACHINE sudo mount /dev/xvdf /home/storage
913
905
fi
914
906
fi
907
+
908
+ containerHash=$( \
909
+ docker ` docker-machine config $DOCKER_MACHINE ` run \
910
+ --name=" pg_nancy_${CURRENT_TS} " \
911
+ -v /home/ubuntu:/machine_home \
912
+ -v /home/storage:/storage \
913
+ -dit " postgresmen/postgres-with-stuff:pg${PG_VERSION} "
914
+ )
915
+ dockerConfig=$( docker-machine config $DOCKER_MACHINE )
915
916
else
916
917
err " ASSERT: must not reach this point"
917
918
exit 1
You can’t perform that action at this time.
0 commit comments