diff options
| author | Chuck Short <zulcss@ubuntu.com> | 2011-03-15 07:56:26 -0400 |
|---|---|---|
| committer | Chuck Short <zulcss@ubuntu.com> | 2011-03-15 07:56:26 -0400 |
| commit | 48d3dd7f9d2633d8955080b6dccc7c97bc8ef7c3 (patch) | |
| tree | 4cae2b6f455b4f55478f5ad6193c7878d48df6f6 | |
| parent | 7020772a56094ab84df6c8c7d9525494f14c8363 (diff) | |
Mount the right device
| -rw-r--r-- | nova/virt/disk.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nova/virt/disk.py b/nova/virt/disk.py index a3db1d882..2c0460f39 100644 --- a/nova/virt/disk.py +++ b/nova/virt/disk.py @@ -122,7 +122,7 @@ def setup_container(image, container_dir=None, partition=None, nbd=False): to create the root filesystem for the container """ device = _link_device(image, nbd) - err = utils.execute('sudo', 'mount', mapped_device, container_dir) + err = utils.execute('sudo', 'mount', device, container_dir) if err: raise exception.Error(_('Failed to mount filesystem: %s') % err) |
