pxe: bugfix FORCE env var
This commit is contained in:
parent
f51f38d677
commit
2a0f9371e1
|
@ -59,7 +59,7 @@ extract_live_parts_for_tftp() {
|
||||||
|
|
||||||
install_netboot() {
|
install_netboot() {
|
||||||
# if you want to refresh install, remove or move dir
|
# if you want to refresh install, remove or move dir
|
||||||
if [ ! -d "${tftp_path}" ] || [ "${FORCE}" ]; then
|
if [ ! -d "${tftp_path}" ] || [ "${FORCE:-}" ]; then
|
||||||
mkdir -p "${tftp_path}"
|
mkdir -p "${tftp_path}"
|
||||||
cd "${tftp_path}"
|
cd "${tftp_path}"
|
||||||
if [ -f /tmp/live.iso ]; then
|
if [ -f /tmp/live.iso ]; then
|
||||||
|
|
Loading…
Reference in New Issue