Fix invalid variable reference.
Correct variable name is 'source_type', but just happened to work because the default value for the variable is also 'mount'. Change-Id: Ifba9ce0ef3052e1b5e07f90d236bfcf24ca6a608
This commit is contained in:
parent
ca1f1d39b8
commit
c4ddd0fff5
1
Authors
1
Authors
|
@ -48,6 +48,7 @@ Daniel P. Berrange <berrange@redhat.com>
|
|||
Dave Lapsley <dlapsley@nicira.com>
|
||||
Dave Walker <Dave.Walker@canonical.com>
|
||||
David Pravec <David.Pravec@danix.org>
|
||||
David Shrewsbury <shrewsbury.dave@gmail.com>
|
||||
David Subiros <david.perez5@hp.com>
|
||||
Dean Troyer <dtroyer@gmail.com>
|
||||
Deepak Garg <deepak.garg@citrix.com>
|
||||
|
|
|
@ -1514,7 +1514,7 @@ class LibvirtDriver(driver.ComputeDriver):
|
|||
|
||||
if FLAGS.libvirt_type == "lxc":
|
||||
fs = config.LibvirtConfigGuestFilesys()
|
||||
fs.type = "mount"
|
||||
fs.source_type = "mount"
|
||||
fs.source_dir = os.path.join(FLAGS.instances_path,
|
||||
instance['name'],
|
||||
"rootfs")
|
||||
|
|
Loading…
Reference in New Issue