~markmc/nova/flat-dhcp-without-bridge-iface

« back to all changes in this revision

Viewing changes to nova/virt/libvirt.xml.template

  • Committer: Tarmac
  • Author(s): Christopher MacGown
  • Date: 2011-08-23 06:00:12 UTC
  • mfrom: (1476.1.2 trunk_merge)
  • Revision ID: tarmac-20110823060012-od44a3emqh6he9ud
Implements first-pass of config-drive that adds a vfat format drive to a vm when config_drive is True (or an image id).

Show diffs side-by-side

added added

removed removed

Lines of Context:
106
106
            </disk>
107
107
        #end for
108
108
    #end if
 
109
    #if $getVar('config_drive', False)
 
110
        <disk type='file'>
 
111
            <driver type='raw' />
 
112
            <source file='${basepath}/disk.config' />
 
113
            <target dev='${disk_prefix}z' bus='${disk_bus}' />
 
114
        </disk>
 
115
    #end if
109
116
#end if
110
117
 
111
118
#for $nic in $nics