in the function _set_url_paths it makes up the defaults: # generic url_prefix = "current/images" ... # s390x specific as it can't find "normal" kernel/initrd there hvmroot = "%s/generic/" % url_prefix kernel_basename = "kernel.%s" % self._debname
That will construct http://ports.ubuntu.com/ubuntu-ports/dists/bionic/main/installer-s390x/current/images/generic/kernel.ubuntu Which was the correct old path. The new path would be the new path. http://ports.ubuntu.com/ubuntu-ports/dists/focal/main/installer- s390x/current/legacy-images/generic/kernel.ubuntu But that differs based on the version, if you want to install a bionic guest the old code works. @Andrew - you might want to ask to keep the old layout instead of changing this (and probably many other tools/scripts)? -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1872941 Title: [Ubuntu 20.04] virt-install fails to detect path after images folder name has changed Status in Ubuntu on IBM z Systems: Triaged Status in linux package in Ubuntu: Invalid Status in virt-manager package in Ubuntu: New Bug description: Installer version: Latest https://ports.ubuntu.com/ubuntu-ports/dists/focal/main/installer-s390x Description/Reproduction: Start virt-install with the following options: virt-install \ --name ubuntu20-guest1 \ --memory 4096 \ --vcpus 4 \ --disk "size=4" \ --location http://ports.ubuntu.com/ubuntu-ports/dists/focal/main/installer-s390x \ --network "network=default" Error: ERROR Error validating install location: Could not find an installable distribution at 'http://ports.ubuntu.com/ubuntu-ports/dists/focal/main/installer-s390x' The location must be the root directory of an install tree. See virt-install man page for various distro examples. Looking at previous releases I would guess it expects an "images" directory instead of the new "classic-images" directory. I'm aware of the workaround to specify kernel/initramfs directly but that shouldn't be a solution. == Comment: #2 - Andre Wild1 <andre.wi...@ibm.com> - 2020-04-15 03:51:21 == (In reply to comment #0) > Installer version: Latest > https://ports.ubuntu.com/ubuntu-ports/dists/focal/main/installer-s390x > Sorry I've copied the wrong link. This is the link I've used successfully in the past: http://ports.ubuntu.com/ubuntu-ports/dists/focal/main/installer-s390x To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu-z-systems/+bug/1872941/+subscriptions -- Mailing list: https://launchpad.net/~kernel-packages Post to : kernel-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~kernel-packages More help : https://help.launchpad.net/ListHelp