diff options
author | Sven Nierlein <sven@consol.de> | 2024-07-23 19:09:21 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-07-23 19:09:21 (GMT) |
commit | 562deb749af3943dfcb6582ffcf48afb0b27e074 (patch) | |
tree | d0406ecb6d12955fec2a354ed27a23aab490692d /.github | |
parent | f29785f5035e489576d2ba74be774273b73dd149 (diff) | |
parent | ea104fa400acfa017e9d7690dea19edef787421f (diff) | |
download | monitoring-plugins-562deb749af3943dfcb6582ffcf48afb0b27e074.tar.gz |
Merge branch 'master' into check_curl_featuresrefs/pull/2006/head
Diffstat (limited to '.github')
-rwxr-xr-x | .github/prepare_debian.sh | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/.github/prepare_debian.sh b/.github/prepare_debian.sh index dcf778b..3f4674a 100755 --- a/.github/prepare_debian.sh +++ b/.github/prepare_debian.sh | |||
@@ -64,13 +64,9 @@ apt-get -y install perl \ | |||
64 | iproute2 | 64 | iproute2 |
65 | 65 | ||
66 | # remove ipv6 interface from hosts | 66 | # remove ipv6 interface from hosts |
67 | if [ $(ip addr show | grep "inet6 ::1" | wc -l) -eq "0" ]; then | 67 | sed '/^::1/d' /etc/hosts > /tmp/hosts |
68 | sed '/^::1/d' /etc/hosts > /tmp/hosts | 68 | cp -f /tmp/hosts /etc/hosts |
69 | cp -f /tmp/hosts /etc/hosts | ||
70 | fi | ||
71 | |||
72 | ip addr show | 69 | ip addr show |
73 | |||
74 | cat /etc/hosts | 70 | cat /etc/hosts |
75 | 71 | ||
76 | # apache | 72 | # apache |