unattended_install: Fix qemu_img bin location when building from source

Yet another place that didn't have its location updated
according to the new organization of the symlinks and
data files.
Signed-off-by: NLucas Meneghel Rodrigues <lmr@redhat.com>
上级 70436cf7
......@@ -150,7 +150,9 @@ class UnattendedInstallConfig(object):
if getattr(self, 'qemu_img_binary'):
if not os.path.isfile(getattr(self, 'qemu_img_binary')):
self.qemu_img_binary = os.path.join(root_dir,
qemu_img_base_dir = os.path.join(data_dir.get_root_dir(),
self.params.get("vm_type"))
self.qemu_img_binary = os.path.join(qemu_img_base_dir,
self.qemu_img_binary)
if getattr(self, 'cdrom_cd1'):
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册