lang: core embedded: provisioner: Work with USB-free machines
This feature was for machines that boot from USB keys. When we PXE boot, this should not fail when the file isn't missing.
This commit is contained in:
@@ -86,6 +86,8 @@ done | paste -sd, -)
|
||||
# Output the ignoredisk directive to a temporary file.
|
||||
if [ "${usb_disks}" != "" ]; then
|
||||
echo "ignoredisk --drives=${usb_disks}" > /tmp/ignoredisk.ks
|
||||
else
|
||||
echo "# no ignoredisk directive" > /tmp/ignoredisk.ks
|
||||
fi
|
||||
%end
|
||||
%include /tmp/ignoredisk.ks
|
||||
|
||||
Reference in New Issue
Block a user