Bugzilla – Bug 1213415
offline install on physical machine fails using AutoYaST
Last modified: 2023-09-05 08:46:05 UTC
When you want to install SLE offline in fully automated mode, you need to add the repositories from the multi-product installation DVD, section add-on/add_on_products/media_url. Only urls starting with cd:/// and dvd:/// work (usb:///, file:/// and device:/// do not work) and only in VMware ! On a physical server, it cannot find the paths (error message). It is therefore impossible to install offline using AutoYaST on a physical machine...
Imo, please have a look.
Hi Karl, Please, could you share your profile with us? Thanks! Regards, Imo
Created attachment 868274 [details] control file for offline automated install I've attached the control file. It works fine in VMware but not in a physical machine. As you can see, all repos available on the DVD are enabled. The iso is writed on a usb key as it is impossible to burn a 15G iso on a DVD... Booting works fine, installer starts but when it's time to add the repos (add-ons) I got an error. I tried to replace dvd:/// by cd:///, usb:///, file:/// and even device:/// but nothing work... only cd:/// and dvd:/// only in VMware.
Hi Karl, The media_url is intended to have the URL of the installation media. To specify the directory, you can use a product_dir element. Something like this should do the trick: <listentry> <media_url>dvd:///</media_url> <product_dir>/Module-Basesystem</product_dir> </listentry> A more portable way could be to use `relurl:///` which refers to the root of the installation media. Could you give it a try, please? If it still does not work it would be great to have the YaST2 logs. See https://en.opensuse.org/openSUSE:Report_a_YaST_bug#Attachments_-_y2logs,_hwinfo_etc. Thanks! Regards, Imo
Ok. I can already say that the <product_dir> element neither work as it also was in my countless attempts :-) I will try the 'relurl:///' as you propose and get back to you... fingers crossed !
Ok, I tried your proposal in VMware (cd:/// -> relurl:///) and it doesn't work... :-( atm, only cd:/// and dvd:/// work but only in VMware. Nothing work on bare-metal :-(
That's weird. Could you, please, upload the logs to the bug report?
Just a thought: In VMWare, you need to explicitly forward USB devices from the VM host to your VM. Are you sure they are accessible from within the VM? You can check by just starting a working (Linux) VM and a USB stick with any content.
This problem only concerns bare-metal servers. In VMware, it works fine ! :)
Duh; so I misunderstood you.
Hi Karl, In bare metal you could so something like this: <add-on> <add_on_products config:type="list"> <listentry> <media_url><![CDATA[hd:/?device=/dev/sda2]]></media_url> <product_dir>/Module-Basesystem</product_dir> <product>sle-module-basesystem</product> </listentry> <listentry> <media_url><![CDATA[hd:/?device=/dev/sda2]]></media_url> <product_dir>/Module-Server-Applications</product_dir> <product>sle-module-server-applications</product> </listentry> </add_on_products> </add-on> I use a USB device, and /dev/sda2 is the partition where the repositories are located. If it still does not work for you, please attach the YaST2 logs. See https://en.opensuse.org/openSUSE:Report_a_YaST_bug#Attachments_-_y2logs,_hwinfo_etc. Regards, Imo
Karl, did you find time to try what Imo suggested in comment #11?
Still waiting for feedback. See comment #11.
No feedback for 4 weeks. Closing.