summaryrefslogtreecommitdiffstats
path: root/core/modules/run-virt/data/opt/openslx/scripts/systemd-run_virt_env
diff options
context:
space:
mode:
authorSimon Rettberg2020-08-07 14:42:19 +0200
committerSimon Rettberg2020-08-07 14:42:19 +0200
commit58841a46010748a392526f26141c9273035ff60a (patch)
treeab65c05d9e06d46612e01956ec225d177bbaddd9 /core/modules/run-virt/data/opt/openslx/scripts/systemd-run_virt_env
parent[dhcpc-busybox] Re-set hostname if it's noname-* (diff)
downloadmltk-58841a46010748a392526f26141c9273035ff60a.tar.gz
mltk-58841a46010748a392526f26141c9273035ff60a.tar.xz
mltk-58841a46010748a392526f26141c9273035ff60a.zip
[run-virt] Fix timeout calls wrt busybox commit c9720a76
Diffstat (limited to 'core/modules/run-virt/data/opt/openslx/scripts/systemd-run_virt_env')
-rwxr-xr-xcore/modules/run-virt/data/opt/openslx/scripts/systemd-run_virt_env2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/modules/run-virt/data/opt/openslx/scripts/systemd-run_virt_env b/core/modules/run-virt/data/opt/openslx/scripts/systemd-run_virt_env
index f556c368..77dfa194 100755
--- a/core/modules/run-virt/data/opt/openslx/scripts/systemd-run_virt_env
+++ b/core/modules/run-virt/data/opt/openslx/scripts/systemd-run_virt_env
@@ -193,7 +193,7 @@ getips () {
[ -z "$1" ] && return
[ "$1" = "$FALLBACK_DOMAIN" ] && return
# Output in one line by using echo without quotes
- echo $(busybox timeout -t 2 nslookup "$1" 2>/dev/null | grep -A 4 '^Name:' | grep -E '^Address\s*[0-9]*: ' | awk -F': ' '{print $2}' | grep -oE '[0-9]+\.[0-9]+\.[0-9]+\.[0-9]+' | awk '{print $1}')
+ echo $(busybox timeout 2 nslookup "$1" 2>/dev/null | grep -A 4 '^Name:' | grep -E '^Address\s*[0-9]*: ' | awk -F': ' '{print $2}' | grep -oE '[0-9]+\.[0-9]+\.[0-9]+\.[0-9]+' | awk '{print $1}')
}
# read the DNS configuration and configure the udhcpd