Skip to content

Commit

Permalink
bin: Update for kernel-setup
Browse files Browse the repository at this point in the history
Signed-off-by: Stéphane Graber <[email protected]>
Sponsored-by: https://www.sovereign.tech
  • Loading branch information
stgraber committed Dec 11, 2024
1 parent cb50f7d commit 4fb9607
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion bin/incus-run
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion bin/maas-run
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 4fb9607

Please sign in to comment.