Univention Bugzilla – Attachment 9678 Details for
Bug 47338
univention-join fails, if a second macAddress is set
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
example patch
exp.patch (text/plain), 725 bytes, created by
Jürn Brodersen
on 2018-09-18 13:23:02 CEST
(
hide
)
Description:
example patch
Filename:
MIME Type:
Creator:
Jürn Brodersen
Created:
2018-09-18 13:23:02 CEST
Size:
725 bytes
patch
obsolete
>diff --git a/management/univention-join/univention-server-join b/management/univention-join/univention-server-join >index 2ac2ca0dcd..22e3f37f81 100755 >--- a/management/univention-join/univention-server-join >+++ b/management/univention-join/univention-server-join >@@ -131,8 +131,7 @@ do > shift 2 || exit 2 > ;; > "-mac") >- MAC+="${2:?missing ethernet MAC address} >-" >+ MAC+=("${2:?missing ethernet MAC address}") > shift 2 || exit 2 > ;; > "-bindaccount") >@@ -316,9 +315,9 @@ create_entry () { > fi > fi > if [ -n "$MAC" ]; then >- while read line; do >- args+=(--set mac="$line") >- done <<< "$MAC" >+ for i in "${MAC[@]}"; do >+ args+=(--set mac="$i") >+ done > fi > # DHCP > case "$module" in
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 47338
: 9678