diff --git a/src/s6/debian-root/usr/bin/host-ip b/src/s6/debian-root/usr/bin/host-ip deleted file mode 100755 index ff2f67b..0000000 --- a/src/s6/debian-root/usr/bin/host-ip +++ /dev/null @@ -1,10 +0,0 @@ -#!/usr/bin/with-contenv sh - -# -# This script will determine the network IP of the container. -# -# Return format should be a single IP address. -# - -# Default to using the value of the $HOSTNAME ENV variable. -getent hosts ${1:-$HOSTNAME} | awk '{print $1}' diff --git a/src/s6/debian-root/usr/bin/set-contenv b/src/s6/debian-root/usr/bin/set-contenv deleted file mode 100755 index 7cb86c9..0000000 --- a/src/s6/debian-root/usr/bin/set-contenv +++ /dev/null @@ -1,12 +0,0 @@ -#!/usr/bin/execlineb -S0 - -if { s6-test $# -eq 2 } - -backtick -in FILENAME { - pipeline { s6-echo "${1}" } - tr "a-z" "A-Z" -} -import -u FILENAME - -redirfd -w 1 /var/run/s6/container_environment/${FILENAME} -s6-echo -n -- ${2}