mirror of
https://github.com/shred/acme4j.git
synced 2025-12-13 11:14:02 +08:00
Simplify bammbamm IP evaluation in docker
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
#!/bin/sh
|
||||
|
||||
BAMMBAMM_IP=$(getent hosts bammbamm|cut -d' ' -f1)
|
||||
BAMMBAMM_IP=$(hostname -i)
|
||||
echo "My IP is: $BAMMBAMM_IP"
|
||||
|
||||
/app -defaultIPv6 "" -defaultIPv4 "$BAMMBAMM_IP"
|
||||
|
||||
Reference in New Issue
Block a user