提交 efad97ff 编写于 作者: Q qizhu

qemu_guest_agent: Adopt guest 'python' command to python3

Signed-off-by: Nqizhu <qizhu@redhat.com>
上级 336609d0
...@@ -77,7 +77,7 @@ ...@@ -77,7 +77,7 @@
gagent_check_type = set_vcpus gagent_check_type = set_vcpus
- check_get_time: - check_get_time:
gagent_check_type = get_time gagent_check_type = get_time
get_guest_time_cmd = python -c "import time; print(int(time.time()))" get_guest_time_cmd = `command -v python python3 | head -1` -c "import time; print(int(time.time()))"
- check_memory_leak: - check_memory_leak:
only Windows only Windows
gagent_check_type = memory_leak gagent_check_type = memory_leak
...@@ -87,7 +87,7 @@ ...@@ -87,7 +87,7 @@
- check_set_time: - check_set_time:
image_snapshot = yes image_snapshot = yes
gagent_check_type = set_time gagent_check_type = set_time
get_guest_time_cmd = python -c "import time; print(int(time.time()))" get_guest_time_cmd = `command -v python python3 | head -1` -c "import time; print(int(time.time()))"
move_time_cmd = "date --rfc-3339=seconds --utc; date --set='now - 1 week' > /dev/null; date --rfc-3339=seconds --utc" move_time_cmd = "date --rfc-3339=seconds --utc; date --set='now - 1 week' > /dev/null; date --rfc-3339=seconds --utc"
- check_fstrim: - check_fstrim:
no Windows no Windows
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册