Изменино время кронтаба на полноч
This commit is contained in:
2
gfx.yaml
2
gfx.yaml
@@ -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/rfb
|
||||
- echo "rfb /mnt/rfb 9p trans=virtio,ro,_netdev 0 0" >> /etc/fstab
|
||||
- systemctl daemon-reload
|
||||
|
||||
Reference in New Issue
Block a user