From c4ddd0fff52bf83fc65db43ff5850116c7f29f68 Mon Sep 17 00:00:00 2001 From: David Shrewsbury Date: Tue, 26 Jun 2012 12:15:33 -0400 Subject: 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 --- nova/virt/libvirt/connection.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'nova') diff --git a/nova/virt/libvirt/connection.py b/nova/virt/libvirt/connection.py index ea0e60573..cffd22661 100644 --- a/nova/virt/libvirt/connection.py +++ b/nova/virt/libvirt/connection.py @@ -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") -- cgit