diff options
| author | Chuck Short <zulcss@ubuntu.com> | 2011-03-17 09:17:42 -0400 |
|---|---|---|
| committer | Chuck Short <zulcss@ubuntu.com> | 2011-03-17 09:17:42 -0400 |
| commit | 174d8ca2da7e2e53c9105ccc5e5d9a97bc12c0b8 (patch) | |
| tree | 2fded62ff52786eede729017156fe3388e4ae363 | |
| parent | cc716f9648355bc3737dd749a35dc327ebda1e6f (diff) | |
| download | nova-174d8ca2da7e2e53c9105ccc5e5d9a97bc12c0b8.tar.gz nova-174d8ca2da7e2e53c9105ccc5e5d9a97bc12c0b8.tar.xz nova-174d8ca2da7e2e53c9105ccc5e5d9a97bc12c0b8.zip | |
Set nbd to false when mounting the image
| -rw-r--r-- | nova/virt/disk.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/nova/virt/disk.py b/nova/virt/disk.py index 90d3cf499..a84425de7 100644 --- a/nova/virt/disk.py +++ b/nova/virt/disk.py @@ -121,6 +121,7 @@ def setup_container(image, container_dir=None, partition=None, nbd=False): It will mount the loopback image to the container directory in order to create the root filesystem for the container """ + nbd=False device = _link_device(image, nbd) err = utils.execute('sudo', 'mount', device, container_dir) if err: |
