setup-interfaces (openrc: not found)
os release: alpine-mini-3.1.3
conf scripts version: alpine-conf-3.2.1
error output was not suppressed in check on container
Patch code:
--- a/setup-interfaces.in
+++ b/setup-interfaces.in
@@ -400,7 +400,7 @@ prompt_for_interfaces() {
index=$(( $index + 1 ))
done
- if [ "$(openrc --sys)" != "LXC" ] || ! ip addr show lo | grep -q 'inet.*127\.0'; then
+ if [ "$(openrc --sys 2>/dev/null)" != "LXC" ] || ! ip addr show lo | grep -q 'inet.*127\.0'; then
echo "type=loopback" > 000~lo.conf
echo "" > interface
fi
(from redmine: issue id 4187, created on 2015-05-14, closed on 2015-12-09)
- Changesets:
- Revision 6fbbcdad78e7d3d198e3a4856cee2970beebc0a7 by Natanael Copa on 2015-05-18T12:52:30Z:
main/alpine-conf: require openrc newer than 0.13
fixes #4187