Update install_pxe.sh script
Some checks reported errors
continuous-integration/drone/push Build was killed
Some checks reported errors
continuous-integration/drone/push Build was killed
This commit is contained in:
parent
7c88af5102
commit
8c9327860d
1 changed files with 1 additions and 3 deletions
|
|
@ -72,9 +72,7 @@ else
|
||||||
fi
|
fi
|
||||||
cd /boot
|
cd /boot
|
||||||
wget "$MIRROIR"/isolinux/{vmlinuz,initrd.img}
|
wget "$MIRROIR"/isolinux/{vmlinuz,initrd.img}
|
||||||
if [ $(ip link show | grep ^[0-9] | grep -v lo: | wc -l) -eq 1 ]; then
|
if [ $(ip link show | grep ^[0-9] | grep -v lo: | wc -l) -ne 1 ]; then
|
||||||
INST_OPTIONS="ks.device=link ${INST_OPTIONS}"
|
|
||||||
else
|
|
||||||
INST_OPTIONS="ks.device=$MAC ${INST_OPTIONS}"
|
INST_OPTIONS="ks.device=$MAC ${INST_OPTIONS}"
|
||||||
fi
|
fi
|
||||||
if [ ! -z "$STATIC" ]; then
|
if [ ! -z "$STATIC" ]; then
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue