Let's copy the installer under the medias as we've provided new APIs on
libosinfo for relying on the media content instead of relying on the OS.

The reasoning behind of that is because not all medias support
installers for both profiles.

Let's also leave the installer-script under the OSes as
osinfo-install-script relies on that.

Last but not least, we're just copying the installer under the medias
which the installer has been tested against.

Signed-off-by: Fabiano Fidêncio <fiden...@redhat.com>
---
 data/os/ubuntu.com/ubuntu-19.04.xml.in | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/data/os/ubuntu.com/ubuntu-19.04.xml.in 
b/data/os/ubuntu.com/ubuntu-19.04.xml.in
index 09012a6..71efc17 100644
--- a/data/os/ubuntu.com/ubuntu-19.04.xml.in
+++ b/data/os/ubuntu.com/ubuntu-19.04.xml.in
@@ -39,6 +39,10 @@
       </iso>
       <kernel>install/vmlinuz</kernel>
       <initrd>install/initrd.gz</initrd>
+      <installer>
+        <script id='http://ubuntu.com/ubuntu/preseed/desktop'/>
+        <script id='http://ubuntu.com/ubuntu/preseed/jeos'/>
+      </installer>
     </media>
     <media arch="x86_64" live="true">
       
<url>http://cdimage.ubuntu.com/daily-live/current/disco-desktop-amd64.iso</url>
@@ -47,6 +51,9 @@
       </iso>
       <kernel>casper/vmlinuz</kernel>
       <initrd>casper/initrd</initrd>
+      <installer>
+        <script id='http://ubuntu.com/ubuntu/preseed/desktop'/>
+      </installer>
     </media>
     <media arch="aarch64">
       
<url>http://cdimage.ubuntu.com/ubuntu-server/daily/current/disco-server-arm64.iso</url>
-- 
2.20.1

_______________________________________________
Libosinfo mailing list
Libosinfo@redhat.com
https://www.redhat.com/mailman/listinfo/libosinfo

Reply via email to