Skip to content

Commit 0297b1f

Browse files
authored
Fix issue with proxy tunnel not working and fix potential problem with creating UUIDs (#69)
1 parent 9b7f5b7 commit 0297b1f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

compose/compose.proxy.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ services:
1616
dns:
1717
- 1.1.1.1
1818
- 8.8.8.8
19-
volumes:
19+
devices:
2020
- /dev/net/tun:/dev/net/tun
2121
cpus: $ALT_MIN_CPU_LIMIT
2222
mem_limit: $RAM_LIMIT

scripts/util/uuid-generator.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ generate_uuid() {
77
uuid="$(cat /proc/sys/kernel/random/uuid)"
88
fi
99

10-
case "$denoter" in
10+
case "$1" in
1111
"#") echo "sdk-node-$(echo "$uuid" | tr -d '-')" ;;
1212
"*") echo "$uuid" ;;
1313
"&") echo "$uuid" | tr -d '-' ;;

0 commit comments

Comments
 (0)