Skip to content

Commit

Permalink
make-freebsd-pnfsserver.sh: workaround for FreeBSD VM on host F41
Browse files Browse the repository at this point in the history
Signed-off-by: Jianhong Yin <[email protected]>
  • Loading branch information
tcler committed Oct 26, 2024
1 parent f90a10f commit ba05aea
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions utils/make-freebsd-pnfsserver.sh
Original file line number Diff line number Diff line change
Expand Up @@ -57,11 +57,12 @@ echo -e "\n{INFO} remove existed VMs ..."
vm del freebsd-pnfs-ds1 freebsd-pnfs-ds2 freebsd-pnfs-mds freebsd-pnfs-client

echo -e "\n{INFO} creating VMs ..."
#the option --if-model=e1000 is a workaround for FreeBSD VM issue on Fedora-41 host
trun -tmux /usr/bin/vm create $distro -n $clientvm -p $pkgs --saveimage -f --nointeract "${@}"
trun -tmux /usr/bin/vm create $freebsd_nvr -n $vm_ds1 -dsize 80 -i $imagef -f --nointeract
trun -tmux /usr/bin/vm create $freebsd_nvr -n $vm_ds2 -dsize 80 -i $imagef -f --nointeract
trun -tmux /usr/bin/vm create $freebsd_nvr -n $vm_mds -dsize 40 -i $imagef -f --nointeract
trun /usr/bin/vm create $freebsd_nvr -n $vm_fbclient -i $imagef -f --nointeract
trun -tmux /usr/bin/vm create $freebsd_nvr -n $vm_ds1 -dsize 80 -i $imagef -f --nointeract --if-model=e1000
trun -tmux /usr/bin/vm create $freebsd_nvr -n $vm_ds2 -dsize 80 -i $imagef -f --nointeract --if-model=e1000
trun -tmux /usr/bin/vm create $freebsd_nvr -n $vm_mds -dsize 40 -i $imagef -f --nointeract --if-model=e1000
trun /usr/bin/vm create $freebsd_nvr -n $vm_fbclient -i $imagef -f --nointeract --if-model=e1000

echo -e "\n{INFO} waiting VMs install finish ..."

Expand Down

0 comments on commit ba05aea

Please sign in to comment.