From f261025af0d2bfc7f89963549401b96406da0fd3 Mon Sep 17 00:00:00 2001 From: Yuhua Zou <41054978+ZouYuhua@users.noreply.github.com> Date: Fri, 31 May 2024 10:36:47 +0800 Subject: [PATCH] [FreeBSD] Fix the ping issue for FreeBSD (#585) Signed-off-by: ZouYuhua --- common/reset_base_snapshot.yml | 1 + linux/setup/create_base_snapshot.yml | 1 + 2 files changed, 2 insertions(+) diff --git a/common/reset_base_snapshot.yml b/common/reset_base_snapshot.yml index 34282af2b..75f447239 100644 --- a/common/reset_base_snapshot.yml +++ b/common/reset_base_snapshot.yml @@ -39,6 +39,7 @@ vars: snapshot_name: "{{ base_snapshot_name }}" snapshot_description: "{{ base_snapshot_description | default('') }}" + dump_memory: "{{ guest_os_ansible_distribution != 'FreeBSD' }}" - name: "Refresh base snapshot status variable" ansible.builtin.set_fact: diff --git a/linux/setup/create_base_snapshot.yml b/linux/setup/create_base_snapshot.yml index b43a9025e..a2768bc5f 100644 --- a/linux/setup/create_base_snapshot.yml +++ b/linux/setup/create_base_snapshot.yml @@ -6,6 +6,7 @@ - include_tasks: ../../common/vm_take_snapshot.yml vars: snapshot_name: "{{ base_snapshot_name }}" + dump_memory: "{{ guest_os_ansible_distribution != 'FreeBSD' }}" - name: Set fact of base snapshot existence ansible.builtin.set_fact: base_snapshot_exists: true