From f101ade1752b3304a2f03a4384549dbbd6e06bd9 Mon Sep 17 00:00:00 2001 From: Alexey Barabanov Date: Fri, 14 Nov 2025 12:38:56 +0000 Subject: [PATCH] =?UTF-8?q?=D0=98=D0=B7=D0=BC=D0=B5=D0=BD=D0=B8=D0=BD?= =?UTF-8?q?=D0=BE=20=D0=B2=D1=80=D0=B5=D0=BC=D1=8F=20=D0=BA=D1=80=D0=BE?= =?UTF-8?q?=D0=BD=D1=82=D0=B0=D0=B1=D0=B0=20=D0=BD=D0=B0=20=D0=BF=D0=BE?= =?UTF-8?q?=D0=BB=D0=BD=D0=BE=D1=87?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- khl.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/khl.yaml b/khl.yaml index c8d0b8b..977120d 100644 --- a/khl.yaml +++ b/khl.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/khl - echo "khl /mnt/khl 9p trans=virtio,ro,_netdev 0 0" >> /etc/fstab - systemctl daemon-reload