From 9e61ac94d2d0428214f5f9037d1d61d51643cc58 Mon Sep 17 00:00:00 2001 From: Anders Ingemann Date: Wed, 16 Jul 2014 22:06:42 +0200 Subject: [PATCH] Add a word, to make error message about nbd more understable --- bootstrapvz/common/fs/qemuvolume.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bootstrapvz/common/fs/qemuvolume.py b/bootstrapvz/common/fs/qemuvolume.py index 605e77c..2f9adfe 100644 --- a/bootstrapvz/common/fs/qemuvolume.py +++ b/bootstrapvz/common/fs/qemuvolume.py @@ -23,7 +23,8 @@ class QEMUVolume(LoopbackVolume): num_partitions = len(self.partition_map.partitions) if not self._module_loaded('nbd'): msg = ('The kernel module `nbd\' must be loaded ' - '(`modprobe nbd max_part={num_partitions}\') to attach .{extension} images' + '(run `modprobe nbd max_part={num_partitions}\') ' + 'to attach .{extension} images' .format(num_partitions=num_partitions, extension=self.extension)) raise VolumeError(msg) nbd_max_part = int(self._module_param('nbd', 'max_part'))