Message ID | alpine.DEB.2.10.1705231310350.18759@sstabellini-ThinkPad-X260 (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
diff --git a/lib/common-tests.sh b/lib/common-tests.sh index c07bb18..80b61d5 100644 --- a/lib/common-tests.sh +++ b/lib/common-tests.sh @@ -163,20 +163,11 @@ function check_guest_alive() { } function get_host_kernel() { - echo "/boot/vmlinuz-`uname -r`" + echo "/boot/kernel" } function get_host_initrd() { - if [[ $DISTRO = "Debian" ]] - then - echo "/boot/initrd.img-`uname -r`" - elif [[ $DISTRO = "Fedora" ]] - then - echo "/boot/initramfs-`uname -r`".img - else - echo "$PREPEND I don't know how to find the initrd" >&2 - exit 1 - fi + echo "" } function cirros_network_init() {