diff options
| author | Ryu Ishimoto <ryu@midokura.jp> | 2011-07-20 00:58:19 +0900 |
|---|---|---|
| committer | Ryu Ishimoto <ryu@midokura.jp> | 2011-07-20 00:58:19 +0900 |
| commit | 09c14af77b5fbb721316ca18abe4b93bd8bf6fdf (patch) | |
| tree | ea934861c9363b0df9ad5933f59e0df669a0e173 | |
| parent | f55a362c0893c464055b125f6ef2853a8d26a4b5 (diff) | |
Fixed equality comparison bug in libvirt XML
| -rw-r--r-- | nova/virt/libvirt.xml.template | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/nova/virt/libvirt.xml.template b/nova/virt/libvirt.xml.template index ea27e5fd7..619d69523 100644 --- a/nova/virt/libvirt.xml.template +++ b/nova/virt/libvirt.xml.template @@ -92,13 +92,13 @@ #end if #for $nic in $nics - #if $vif_type='ethernet' + #if $vif_type == 'ethernet' <interface type='ethernet'> <target dev='${nic.name}' /> <mac address='${nic.mac_address}' /> <script path='${nic.script}' /> </interface> - #else if $vif_type='802.1Qbh' + #else if $vif_type == '802.1Qbh' <interface type='direct'> <mac address=${nic.mac_address}/> <source dev=${nic.device_name} mode='private'/> |
