Skip to content

Commit

Permalink
new option for disabling floppy device, add warning
Browse files Browse the repository at this point in the history
  • Loading branch information
Mrfai committed Aug 2, 2023
1 parent b4e8967 commit 8c48fad
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion dev-utils/fai-kvm
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
# Author: Thomas Lange, Uni Koeln, 2011-2023
# License: GPL v2 or any later version

fix="-k en-us -smp 2 -cpu host -global isa-fdc.driveA= " # if loading cirrusfb (via pcimodules and modprobe cirrusfb) causes errors in kvm
fix="-k en-us -smp 2 -cpu host -global isa-fdc.fdtypeA=none " # if loading cirrusfb (via pcimodules and modprobe cirrusfb) causes errors in kvm
# without it centos initrd is not created properly and results in kernel panic

vga="-vga std"
Expand Down Expand Up @@ -171,6 +171,7 @@ fi
disk=""
for i in $(seq 1 $disks) ; do
if [ ! -f $diskfile-$i.qcow2 ]; then
echo "WARN: $diskfile-$i.qcow2 not found. Ignoing."
continue
fi
if [ $usenvme -eq 1 ]; then
Expand Down

0 comments on commit 8c48fad

Please sign in to comment.