From scrute@novell.com Tue May 30 13:40:07 2006 From: Simon Crute To: autoinstall@lists.opensuse.org Subject: problems with ask Date: Tue, 30 May 2006 13:40:07 +0000 Message-ID: <200605301440.29684.scrute@novell.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1834145837071916739==" --===============1834145837071916739== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Hi,=20 I'm trying to use the new Ask feature of autoyast, and prompt the user if the= y=20 want their disk initialising. This is how the ask lines are looking in=20 the /tmpautoinst.xml after the profiles have been merged etc.=20 false partitioning,drive,initialize Do you want to remove all existing partitions ? initial Fdisk boolean However, I'm not seeing any popups during the install=20 This is on SLED10-rc2=20 --=20 Simon Crute IS&T=20 Bracknell Novell UK Ltd --===============1834145837071916739==-- From ug@suse.de Tue May 30 13:51:03 2006 From: Uwe Gansert To: autoinstall@lists.opensuse.org Subject: Re: [suse-autoinstall] problems with ask Date: Tue, 30 May 2006 13:51:03 +0000 Message-ID: <200605301551.02327.ug@suse.de> In-Reply-To: <200605301440.29684.scrute@novell.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1080252227906735754==" --===============1080252227906735754== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit On Tuesday 30 May 2006 15:40, Simon Crute wrote: > I'm trying to use the new Ask feature of autoyast, and prompt the user if > they want their disk initialising. This is how the ask lines are looking > in the /tmpautoinst.xml after the profiles have been merged etc. in the section? > > is it documented that way? Should be and not (even though both are working) but if we ever get the DTD profile-check fixed, it will complaint about > false > partitioning,drive,initialize that's wrong. It's partitioning,0,initialize or 1,2,3 ... depends on the drive number. > However, I'm not seeing any popups during the install it should work -- ciao, Uwe Gansert Uwe Gansert, Server Technologies Team SUSE LINUX Products GmbH, Maxfeldstrasse 5, D-90409 Nuernberg, Germany e-mail: uwe.gansert(a)suse.de, Tel: +49-(0)911-74053-0, Fax: +49-(0)911-74053-476, Web: http://www.suse.de --===============1080252227906735754==-- From scrute@novell.com Tue May 30 14:24:09 2006 From: Simon Crute To: autoinstall@lists.opensuse.org Subject: Re: [suse-autoinstall] problems with ask Date: Tue, 30 May 2006 14:24:09 +0000 Message-ID: <200605301524.35078.scrute@novell.com> In-Reply-To: <200605301551.02327.ug@suse.de> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============8769578994143093093==" --===============8769578994143093093== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable On Tuesday 30 May 2006 14:51, Uwe Gansert wrote: > On Tuesday 30 May 2006 15:40, Simon Crute wrote: > > I'm trying to use the new Ask feature of autoyast, and prompt the user if > > they want their disk initialising. This is how the ask lines are looking > > in the /tmpautoinst.xml after the profiles have been merged etc. > > in the section? Doh !! > > > > > > is it documented that way? Should be and not (even though > both are working) but if we ever get the DTD profile-check fixed, it will > complaint about In my profile, I put but, once the profiles have been merged, and dumped=20 in /tmp/profile/autoinst.xml, it's been changed to > > false > > partitioning,drive,initialize > > that's wrong. It's > partitioning,0,initialize > or 1,2,3 ... depends on the drive number. Ahh, so if any items on the path are lists, you have to specify the number,=20 not the name.=20 > > > However, I'm not seeing any popups during the install > > it should work It is now. The ask section wasn't in the section. ! Follow up question: Is it possable to do several changes for one answer ?=20 i.e. If the user says, yes to initialize the disks, then I also want to forma= t=20 the home partition.=20 --=20 Simon Crute IS&T=20 Bracknell Novell UK Ltd --===============8769578994143093093==-- From ug@suse.de Tue May 30 14:38:30 2006 From: Uwe Gansert To: autoinstall@lists.opensuse.org Subject: Re: [suse-autoinstall] problems with ask Date: Tue, 30 May 2006 14:38:30 +0000 Message-ID: <200605301638.29799.ug@suse.de> In-Reply-To: <200605301524.35078.scrute@novell.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============4672166296818742874==" --===============4672166296818742874== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit On Tuesday 30 May 2006 16:24, Simon Crute wrote: > > is it documented that way? Should be and not (even > > In my profile, I put > but, once the profiles have been merged, and dumped > in /tmp/profile/autoinst.xml, it's been changed to that's okay then > > partitioning,0,initialize > > or 1,2,3 ... depends on the drive number. > > Ahh, so if any items on the path are lists, you have to specify the > number, not the name. that's right > Follow up question: Is it possable to do several changes for one answer ? > i.e. If the user says, yes to initialize the disks, then I also want to > format the home partition. hmm. No, that's not possible. It's not so hard to implement but I think we are a little late now for such new features. Maybe for SP1. -- ciao, Uwe Gansert Uwe Gansert, Server Technologies Team SUSE LINUX Products GmbH, Maxfeldstrasse 5, D-90409 Nuernberg, Germany e-mail: uwe.gansert(a)suse.de, Tel: +49-(0)911-74053-0, Fax: +49-(0)911-74053-476, Web: http://www.suse.de --===============4672166296818742874==-- From scrute@novell.com Wed Jun 7 10:49:14 2006 From: Simon Crute To: autoinstall@lists.opensuse.org Subject: Re: [suse-autoinstall] problems with ask Date: Wed, 07 Jun 2006 10:49:14 +0000 Message-ID: <200606071149.29087.scrute@novell.com> In-Reply-To: <200605301638.29799.ug@suse.de> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============9044591663316686214==" --===============9044591663316686214== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable On Tuesday 30 May 2006 15:38, Uwe Gansert wrote: > > Follow up question: Is it possable to do several changes for one answer ? > > i.e. If the user says, yes to initialize the disks, then I also want to > > format the home partition. > > hmm. No, that's not possible. It's not so hard to implement but I think we > are a little late now for such new features. > Maybe for SP1. While I think about it then, is it possable to use an ASK rule to include=20 another profile fragment to be included like rules can ?=20 Do you want a bugzilla on applying more than one result for an ask statement ? I guess in an ideal situation (for me) is to be able to control which section= s=20 of the 2nd stage yast screens are seen.=20 For example, The user should be able to enter their name and password, but I = want to automatically enable SSH, and automatically register them on the=20 Novell Customer Centre.=20 --=20 Simon Crute IS&T=20 Bracknell Novell UK Ltd --===============9044591663316686214==-- From ug@suse.de Wed Jun 7 13:29:51 2006 From: Uwe Gansert To: autoinstall@lists.opensuse.org Subject: Re: [suse-autoinstall] problems with ask Date: Wed, 07 Jun 2006 13:29:51 +0000 Message-ID: <200606071529.51098.ug@suse.de> In-Reply-To: <200606071149.29087.scrute@novell.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============6725324917980730034==" --===============6725324917980730034== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit On Wednesday 07 June 2006 12:49, Simon Crute wrote: > While I think about it then, is it possable to use an ASK rule to include > another profile fragment to be included like rules can ? no, I'm afraid that's not possible. > Do you want a bugzilla on applying more than one result for an ask > statement ? hmmm. can't hurt. Even though I have that on the autoyast mindmap anyway already. Please file an enhancement request. Thanx. > I guess in an ideal situation (for me) is to be able to control which > sections of the 2nd stage yast screens are seen. but that's far beyond what the ask-feature was invented for. > For example, The user should be able to enter their name and password, that can be done and that's what it was invented for. > but I want to automatically enable SSH, and automatically register them > on the Novell Customer Centre. you can do that with the autoyast profile and scripts. -- ciao, Uwe Gansert Uwe Gansert, Server Technologies Team SUSE LINUX Products GmbH, Maxfeldstrasse 5, D-90409 Nuernberg, Germany e-mail: uwe.gansert(a)suse.de, Tel: +49-(0)911-74053-0, Fax: +49-(0)911-74053-476, Web: http://www.suse.de --===============6725324917980730034==-- From scrute@novell.com Wed Jun 7 16:19:03 2006 From: Simon Crute To: autoinstall@lists.opensuse.org Subject: Re: [suse-autoinstall] problems with ask Date: Wed, 07 Jun 2006 16:19:03 +0000 Message-ID: <200606071719.06389.scrute@novell.com> In-Reply-To: <200606071529.51098.ug@suse.de> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============8068515092200587001==" --===============8068515092200587001== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable On Wednesday 07 June 2006 14:29, Uwe Gansert wrote: > On Wednesday 07 June 2006 12:49, Simon Crute wrote: > > While I think about it then, is it possable to use an ASK rule to include > > another profile fragment to be included like rules can ? > > no, I'm afraid that's not possible. > > > Do you want a bugzilla on applying more than one result for an ask > > statement ? > > hmmm. can't hurt. Even though I have that on the autoyast mindmap anyway > already. > Please file an enhancement request. Thanx. Will do.=20 > > I guess in an ideal situation (for me) is to be able to control which > > sections of the 2nd stage yast screens are seen. > > but that's far beyond what the ask-feature was invented for. I figured it was, however I think user is one of the hardest to do.=20 If you ask theuser for their name and userID, the userID has to be set in=20 various places. Looking at how autoyast has built the profile, the username=20 you are replacing appears twice in the section, adding it into the=20 video and dialout group. It appears in the section, and the=20 section.=20 So, if you can't change more than one line at once, how can you change all th= e=20 entries ? > > but I want to automatically enable SSH, and automatically register them > > on the Novell Customer Centre. > > you can do that with the autoyast profile and scripts. Yep. I'm doing that now.=20 *but* the ideal situation (for me) is to use profile/script to change what I = want, and let the user change what I don't want to fix, using the existing=20 yast system. Just giving you ideas :-) --=20 Simon Crute IS&T=20 Bracknell Novell UK Ltd --===============8068515092200587001==--