Skip to content

Commit

Permalink
use virtio for better network performance
Browse files Browse the repository at this point in the history
  • Loading branch information
Thomas Lange committed Oct 22, 2017
1 parent f9be915 commit e95c694
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dev-utils/fai-kvm
Expand Up @@ -129,7 +129,7 @@ fi
mac=$macprefix:$hex

if [ $usernet = 1 ]; then
net=""
net="-net nic,name=eth0,model=virtio -net user,name=eth0"
else
net="-net nic,macaddr=$mac,model=virtio -net tap,ifname=tap$user,script=no,downscript=no"
fi
Expand Down

0 comments on commit e95c694

Please sign in to comment.