roles: bootstrap-host: Remove useless 'break' command from case statement
'break' is pointless in a case statement. This fixes the following warning: "break: only meaningful in a `for', `while', or `until' loop" Change-Id: I61a2a819881b8d8d317a81d3228f40c261a1d350
This commit is contained in:
parent
cc211d91fa
commit
d32bb257cb
@ -16,8 +16,8 @@
|
||||
source /etc/os-release || source /usr/lib/os-release
|
||||
|
||||
case "${ID}" in
|
||||
*suse*) INTERFACE="${1}"; break ;;
|
||||
centos|rhel|fedora) INTERFACE="${DEVICE}"; break ;;
|
||||
*suse*) INTERFACE="${1}"; ;;
|
||||
centos|rhel|fedora) INTERFACE="${DEVICE}"; ;;
|
||||
*) echo "Unsupported distribution ${ID}"; exit 1;
|
||||
esac
|
||||
|
||||
|
@ -16,8 +16,8 @@
|
||||
source /etc/os-release || source /usr/lib/os-release
|
||||
|
||||
case "${ID}" in
|
||||
*suse*) INTERFACE="${1}"; break ;;
|
||||
centos|rhel|fedora) INTERFACE="${DEVICE}"; break ;;
|
||||
*suse*) INTERFACE="${1}"; ;;
|
||||
centos|rhel|fedora) INTERFACE="${DEVICE}"; ;;
|
||||
*) echo "Unsupported distribution ${ID}"; exit 1;
|
||||
esac
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user