当前位置: 代码迷 >> 综合 >> virt-sysprep: error: libguestfs error: could not create appliance through libvirt.
  详细解决方案

virt-sysprep: error: libguestfs error: could not create appliance through libvirt.

热度:18   发布时间:2023-12-29 05:11:49.0

在这里插入图片描述
报错信息如下,截图如上;

[   0.0] Examining the guest ...
virt-sysprep: error: libguestfs error: could not create appliance through 
libvirt.Try running qemu directly without libvirt using this environment variable:
export LIBGUESTFS_BACKEND=directOriginal error from libvirt: \u4e0d\u652f\u6301\u7684\u914d\u7f6e\uff1ashared access for disk 
'sdb' requires use of supported storage format [code=67 int1=-1]If reporting bugs, run virt-sysprep with debugging enabled and include the 
complete output:virt-sysprep -v -x [...]

执行下面命令更新包即可

# yum  upgrade libguestfs-tools
# virt-sysprep -d 虚拟机名

在这里插入图片描述

  相关解决方案