We have a typo in the udhcpc hook, where we're not referncing the
interface variable correctly. This means we'll get the same device
identifier for all netboot options.
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
paramstr="$paramstr $name=$value"
done
- pb-event dhcp@{interface} $paramstr
+ pb-event dhcp@${interface} $paramstr
# Check if an explicit config file present
if [ -n "${conffile}" ]
paramstr="$paramstr $name=$value"
done
- pb-event add@{interface} $paramstr
+ pb-event add@${interface} $paramstr
}
pb_remove () {