小编reo*_*eox的帖子

virt-install 后不要启动 guest 虚拟机

我喜欢设置一个新来宾,但不想立即开始。我使用virt-install这些选项:

virt-install \
    --connect qemu:///system \
    --import \
    --virt-type kvm \
    --name somevm \
    --os-variant win7 \
    --memory 2048 \
    --vcpus 1 \
    --disk /home/bla/VirtualMachines/somevm.qcow2,format=qcow2,device=disk \
    --network network=default \
    --noautoconsole \
    --sound default
Run Code Online (Sandbox Code Playgroud)

virt-install总是会启动VM。我在手册页中找不到任何禁用自动启动的选项。我不想virsh destroy somevm在安装后立即调用,尽管虚拟机可能还没有启动...是否可以使用 virt-install 来阻止来宾启动,或者是否有其他工具可以执行相同的操作但不启动启动客人?

我还找到了某种解决方法:--import您可以使用 来安装虚拟机,而不是使用--pxe。如果没有可用的 PXE 服务器,那么这应该有足够的时间来使用 销毁来宾virsh

libvirt virt-install

2
推荐指数
2
解决办法
6890
查看次数

无法在 Wireshark 中解密 imaps 流量

我目前在 Wireshark 中解密 IMAPS 流量时遇到问题。我使用正确的 IP 地址、端口 993 和协议设置了 SSL 密钥imap。钥匙是正确的。

这就是我在 SSL 日志中看到的内容:

dissect_ssl enter frame #136 (already visited)
  conversation = 0x7fdb633e83f8, ssl_session = (nil)
  record: offset = 0, reported_length_remaining = 229
dissect_ssl3_record: content_type 23
association_find: TCP port 59182 found (nil)
association_find: TCP port 993 found 0x7fdb77125e80
Run Code Online (Sandbox Code Playgroud)

另外,Wireshark 在TLSv1包中向我显示,现在应该有 IMAP 数据,但当我执行“遵循 SSL 流”时,我看不到任何内容。

SSL 包如下所示:

0000  00 00 ff ff 00 00 00 00  00 00 00 00 00 00 08 00   ........ ........
0010 …
Run Code Online (Sandbox Code Playgroud)

ssl encryption wireshark sniffing

1
推荐指数
1
解决办法
2817
查看次数

标签 统计

encryption ×1

libvirt ×1

sniffing ×1

ssl ×1

virt-install ×1

wireshark ×1