From 4fb9607853e04c62f88636e1780e6cb05678e62e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Graber?= Date: Wed, 11 Dec 2024 00:41:14 -0500 Subject: [PATCH] bin: Update for kernel-setup MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Stéphane Graber Sponsored-by: https://www.sovereign.tech --- bin/incus-run | 2 +- bin/maas-run | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/incus-run b/bin/incus-run index cfc10faad..51cfbc7ec 100644 --- a/bin/incus-run +++ b/bin/incus-run @@ -65,7 +65,7 @@ waitVMAgent "${instance_name}" kernel=${2} if [ "${kernel}" != "default" ]; then echo "==> Installing custom kernel: ${2}" >&2 - incus exec "${instance_name}" -- sh /dev/stdin "${kernel}" < "bin/maas-kernel" || true + incus exec "${instance_name}" -- sh /dev/stdin "${kernel}" < "bin/kernel-setup" || true sleep 10 diff --git a/bin/maas-run b/bin/maas-run index c6a0b6c38..af9579828 100755 --- a/bin/maas-run +++ b/bin/maas-run @@ -133,7 +133,7 @@ done kernel=${4} if [ "${kernel}" != "default" ]; then echo "==> Installing custom kernel: ${4}" >&2 - ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -i /var/lib/jenkins/.ssh/id_rsa "ubuntu@${IP}" sudo sh /dev/stdin "${kernel}" < "bin/maas-kernel" || true + ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -i /var/lib/jenkins/.ssh/id_rsa "ubuntu@${IP}" sudo sh /dev/stdin "${kernel}" < "bin/kernel-setup" || true sleep 30