Изменино время кронтаба на полноч

This commit is contained in:
2025-11-14 12:38:56 +00:00
parent 5698600233
commit f101ade175

View File

@@ -21,7 +21,7 @@ runcmd:
- systemctl enable --now qemu-guest-agent
- timedatectl set-timezone Europe/Moscow
- crontab -e
- (crontab -l; echo "$(ip a | grep 10.10.35 | cut -d ' ' -f 6 | sed "s|/|.|g" | cut -d '.' -f 4) 3 * * * /sbin/shutdown -r now") | crontab -
- (crontab -l; echo "$(ip a | grep 10.10.35 | cut -d ' ' -f 6 | sed "s|/|.|g" | cut -d '.' -f 4) 0 * * * /sbin/shutdown -r now") | crontab -
- mkdir /mnt/khl
- echo "khl /mnt/khl 9p trans=virtio,ro,_netdev 0 0" >> /etc/fstab
- systemctl daemon-reload