[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#892800: di-netboot-assistant: errors when $HOME not set

Package: di-netboot-assistant
Version: 0.51
Severity: minor

I have a puppet module that calls di-netboot-assistant to setup d-i images. When puppet runs the command, $HOME is not set. Because di-netboot-assistant uses "set -u" (line 3) when it attempts to use $HOME (line 56), the script exist with an error

 /usr/bin/di-netboot-assistant: line 56: HOME: unbound variable

It's easy to repeat, just 'unset HOME'. Removing the -u from the set allows it to work fine (since the if on line 56 is just false when $HOME isn't set).

Matt Taggart

Reply to: