For unattended_install.url and unattended_install.nfs,
autoyast.iso will be mounted as 1st cdrom.

Signed-off-by: Lin Ma <[email protected]>
---
 shared/cfg/guest-os/Linux/OpenSUSE.cfg | 2 ++
 shared/cfg/guest-os/Linux/SLES.cfg     | 2 ++
 2 files changed, 4 insertions(+)

diff --git a/shared/cfg/guest-os/Linux/OpenSUSE.cfg 
b/shared/cfg/guest-os/Linux/OpenSUSE.cfg
index 487b9b5..043d196 100644
--- a/shared/cfg/guest-os/Linux/OpenSUSE.cfg
+++ b/shared/cfg/guest-os/Linux/OpenSUSE.cfg
@@ -4,3 +4,5 @@
     unattended_install, svirt_install:
         kernel_params = "autoyast=device://sr1/autoinst.xml 
console=ttyS0,115200 console=tty0"
         wait_no_ack = yes
+    unattended_install.url, unattended_install.nfs:
+        kernel_params = "autoyast=device://sr0/autoinst.xml 
console=ttyS0,115200 console=tty0"
diff --git a/shared/cfg/guest-os/Linux/SLES.cfg 
b/shared/cfg/guest-os/Linux/SLES.cfg
index 4ba65f7..f11040d 100644
--- a/shared/cfg/guest-os/Linux/SLES.cfg
+++ b/shared/cfg/guest-os/Linux/SLES.cfg
@@ -5,6 +5,8 @@
         kernel = linux
         initrd = initrd
         wait_no_ack = yes
+    unattended_install.url, unattended_install.nfs:
+        kernel_params = "autoyast=device://scd0/autoinst.xml 
console=ttyS0,115200 console=tty0"
     boot:
         # As SLES need to perform firstboot to finish the installation, 
Extending the boot login_timeout
         login_timeout = 720
-- 
1.8.4

_______________________________________________
Virt-test-devel mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/virt-test-devel

Reply via email to