diff options
author | Daniel Baumann <daniel.baumann@open-infrastructure.net> | 2021-07-24 06:21:30 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@open-infrastructure.net> | 2021-07-24 06:21:30 +0000 |
commit | 4e7cf8d1a4c120a45dd4581b36c73814e9e5d41b (patch) | |
tree | e2f0773d373c8ed5d5fe5fb0f8cca7ab3e724e79 /share/scripts | |
parent | Also removing lock file when force-stopping a container. (diff) | |
download | compute-tools-4e7cf8d1a4c120a45dd4581b36c73814e9e5d41b.tar.xz compute-tools-4e7cf8d1a4c120a45dd4581b36c73814e9e5d41b.zip |
Exporting IP variables to be used in host commands.
Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
Diffstat (limited to 'share/scripts')
-rwxr-xr-x | share/scripts/debconf | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/share/scripts/debconf b/share/scripts/debconf index 9af86f1..179e506 100755 --- a/share/scripts/debconf +++ b/share/scripts/debconf @@ -603,6 +603,9 @@ EOF IPV6_ADDRESS1="$(${DIG} AAAA +short ${NAME} | tail -n1)" # TODO: address parts + + export IPV4_ADDRESS1 IPV4_ADDRESS1_PART1 IPV4_ADDRESS1_PART2 IPV4_ADDRESS1_PART3 IPV4_ADDRESS1_PART4 + export IPV6_ADDRESS1 fi sed -e "s|@FILE@|${FILE}|g" \ |