fruworg.github.io/content/posts/vmware-restart-date.md
2023-12-26 04:34:28 +06:00

18 lines
554 B
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

---
title: Сброс времени при перезагрузке в VMware ESXi/vSphere
description: При перезагрузке гипервизора будет выставляться заданное время
date: 2022-11-25T15:18:00+05:00
tags: [vmware]
---
## Изменение скрипта
В файл `/etc/rc.local.d/local.sh` необходимо добавить следующее:
```config
#!/bin/sh ++group=host/vim/vmvisor/boot
esxcli system time set --day=20 --month=3 --year=2022 --hour=10 --min=0 --sec=0
exit 0
```