Commit 00f659b committed Mar 11, 2025 · 2 / 2
1 parent 56aec4e commit 00f659b Copy full SHA for 00f659b
File tree 2 files changed +5
-8
lines changed
packer/ubuntu-server/scripts
2 files changed +5
-8
lines changed Original file line number Diff line number Diff line change @@ -16,6 +16,3 @@ SQL_SERVER_USER=
16
16
SQL_SERVER_PASSWORD =
17
17
SQL_SERVER_HOST =
18
18
DB_CIPHER =
19
-
20
- DIBBS_SERVICE = dibbs-ecr-viewer
21
- DIBBS_VERSION = v2.0.0-beta
Original file line number Diff line number Diff line change 10
10
# 8. Changes ownership of the 'dibbs-vm' directory to the 'ubuntu' user.
11
11
# 9. Triggers an initial Docker Compose to pull image data and start the containers.
12
12
13
- # loop through all .env files and export the variables
14
- for file in $( find . -name " *.env" ) ; do
15
- export $( cat $file | xargs)
16
- done
17
-
18
13
# Adjust Docker group permissions.
19
14
groupadd docker
20
15
usermod -aG docker ubuntu
@@ -43,6 +38,11 @@ echo "DIBBS_SERVICE=$DIBBS_SERVICE" >> "$DIBBS_SERVICE.env"
43
38
echo " DIBBS_VERSION=$DIBBS_VERSION " >> " $DIBBS_SERVICE .env"
44
39
echo " " >> " $DIBBS_SERVICE .env"
45
40
41
+ # loop through all .env files and export the variables
42
+ # for file in $(find . -name "*.env"); do
43
+ # export $(cat $file | xargs)
44
+ # done
45
+
46
46
# enables docker compose variables to stay set on reboot, DIBBS_SERVICE and DIBBS_VERSION
47
47
echo ' export $(cat ' $HOME /dibbs-vm/" $DIBBS_SERVICE " /* .env' | xargs)' >> " $HOME " /.bashrc
48
48
You can’t perform that action at this time.
0 commit comments