Added virtio nic support

This commit is contained in:
Joe Topjian 2012-08-19 00:15:26 +00:00
parent 440d8077fb
commit b832fff4c3
1 changed files with 7 additions and 1 deletions

View File

@ -8,7 +8,8 @@ class nova::compute(
$vncproxy_host = false,
$vncproxy_protocol = 'http',
$vncproxy_port = '6080',
$vncproxy_path = '/vnc_auto.html'
$vncproxy_path = '/vnc_auto.html',
$virtio_nic = true
) {
include nova::params
@ -44,4 +45,9 @@ class nova::compute(
before => Exec['networking-refresh']
}
if $virtio_nic {
# Enable the virtio network card for instances
nova_config { 'libvirt_use_virtio_for_bridges': value => 'True' }
}
}