That's really strange. I mean, clevis_all_netbootable_devices() certainly does prepend a space. After cut & pasting the function into the shell:
(initramfs) clevis_all_netbootable_devices() {
> for device in /sys/class/net/*; do
<snip - rest of the function>
> }
(initramfs) clevis_all_netbootable_devices
enp1s0 enp7s0
(initramfs)
But the way it is called by eth_check should be fine as long as it is using the default $IFS (and I see no evidence this has changed):
----
for device in $(clevis_all_netbootable_devices); do
ip link set dev "$device" up
---
(initramfs) for device in $(clevis_all_netbootable_devices); do
> echo ",$device,"
> done
,enp1s0, <<< no preceding space
,enp7s0,
,enp1s0,
,enp7s0,
(initramfs)
That's really strange. I mean, clevis_ all_netbootable _devices( ) certainly does prepend a space. After cut & pasting the function into the shell:
(initramfs) clevis_ all_netbootable _devices( ) { all_netbootable _devices
> for device in /sys/class/net/*; do
<snip - rest of the function>
> }
(initramfs) clevis_
enp1s0 enp7s0
(initramfs)
But the way it is called by eth_check should be fine as long as it is using the default $IFS (and I see no evidence this has changed):
---- all_netbootable _devices) ; do
for device in $(clevis_
ip link set dev "$device" up
---
(initramfs) for device in $(clevis_ all_netbootable _devices) ; do
> echo ",$device,"
> done
,enp1s0, <<< no preceding space
,enp7s0,
,enp1s0,
,enp7s0,
(initramfs)