From mail@georg-pfuetzenreuter.net Sun Apr 4 23:55:17 2021 From: Georg Pfuetzenreuter To: autoinstall@lists.opensuse.org Subject: "cont" questions are not being asked after first reboot Date: Sun, 04 Apr 2021 23:55:12 +0000 Message-ID: <161758051238.11174.5643048123242655205@mailman3.infra.opensuse.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============3772759844560480490==" --===============3772759844560480490== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Hello, I tried defining two questions to be asked and respective scripts to be run a= fter the base install is done. Whilst the YaST wizard starts after the first reboot, updates packages, and r= uns the regular post scripts, the two "cont" questions are not being prompted= for. Neither do I see any reference to them in the logs, it looks like it is= ignoring them. I read the documentation several times, thinking I missed something in the se= ction about , but could not find anything relevant. Would someone be so kind and check my file? https://hugz.io/ew685b/autoinstV9.xml (the lines in question are 272-315) Thanks a lot. --===============3772759844560480490==-- From IGonzalezSosa@suse.com Tue Apr 6 21:20:42 2021 From: Imobach Gonzalez Sosa To: autoinstall@lists.opensuse.org Subject: Re: "cont" questions are not being asked after first reboot Date: Tue, 06 Apr 2021 21:20:11 +0000 Message-ID: <2030064.R7T0ttYgMl@bimbache> In-Reply-To: <161758051238.11174.5643048123242655205@mailman3.infra.opensuse.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============6949409610527579782==" --===============6949409610527579782== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable El lunes, 5 de abril de 2021 0:55:12 (WEST) Georg Pfuetzenreuter escribi=C3= =B3: > Hello, Hello Georg, > I tried defining two questions to be asked and respective scripts to be run > after the base install is done. Whilst the YaST wizard starts after the > first reboot, updates packages, and runs the regular post scripts, the two > "cont" questions are not being prompted for. Neither do I see any reference > to them in the logs, it looks like it is ignoring them. I read the > documentation several times, thinking I missed something in the section > about , but could not find anything relevant. Would someone be so kind > and check my file? I think that the problem is in the script of the first question. It says: 1: #!/bin/bash 2: HOSTNAME=3D$VAL 3: sed -e "s/%%HOSTNAME%%/$HOSTNAME/g" \ 4: -e "/^\s*$/d" \ 5: /tmp/profile/autoinst.xml > /tmp/profile/modified.xml So according to line 4, you are basically removing the whole ask-list. I gues= s=20 that you are doing that to avoid AutoYaST asking the same question again, but= =20 the result is that all the questions are deleted. Instead of using a script, I would suggest to specify the path of all those=20 values that you want to replace. So removing the