[opensuse-autoinstall] How to bypass AutoYaST license WITHOUT removing the license from the media?
Hi all - We have an environment where we loop mount (read-only, of course) our SuSE media and do not have the option of removing the license.zip (or the entries in the directory.yast file) to bypass the license agreements upon an auto installation with AutoYaST. Is there any other possible way to do this? I don't really care if it's just a hack to get it working.. We just need something. =20 One method I've been trying is using a pre-install script: for each system, I customize an initrd for it and throw a modified control.xml (control.xml.bak) file into it, along with an info file and an autoyast.xml file. I was thinking that it could be possible to run a pre-install script that copies the modified control.xml.bak file (the one with the license module(s) commented out) to the "real" control.xml file. The only problem with this approach that I've seen is that yast needs to re-read the modified control.xml file, as if the pre-install script does this, I have errors with my partitioning plan. Is there any way to invoke a re-read of this file without killing yast and restarting? If not, what's the best way to accomplish a reload of yast without exiting the installation? The only answers I've seen on this list is to remove the license files from the media. Or, one method that I've seen that works is to leave the license files on the media but comment out (or remove) the section for the license modules in the control.xml file. Hopefully there's a way to do this? Thank you for your time! -Richard Hefner -- To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-autoinstall+help@opensuse.org
On Thu, Jul 31, 2008 at 11:47:02AM -0700, Richard Hefner wrote:
upon an auto installation with AutoYaST. Is there any other possible way to do this? I don't really care if it's just a hack to get it working.. We just need something. =20
I believe that this tag: <mode> <confirm config:type="boolean">false</confirm> </mode> Is the one that makes it automatically accept it for us. -- Mike Marion-Unix SysAdmin/Staff IT Engineer-http://www.qualcomm.com Marge: "Homer, I couldn't help overhearing you warp Bart's mind." Homer: "And?" ==> The Simpsons -- To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-autoinstall+help@opensuse.org
On Thu, Jul 31, 2008 at 03:49:17PM -0700, Mike Marion wrote:
I believe that this tag: <mode> <confirm config:type="boolean">false</confirm> </mode>
Is the one that makes it automatically accept it for us.
Mean to include.. it might be messages from this bit: <report> <errors> <log config:type="boolean">true</log> <show config:type="boolean">true</show> <timeout config:type="integer">10</timeout> </errors> <messages> <log config:type="boolean">true</log> <show config:type="boolean">true</show> <timeout config:type="integer">10</timeout> </messages> <warnings> <log config:type="boolean">true</log> <show config:type="boolean">true</show> <timeout config:type="integer">10</timeout> </warnings> <yesno_messages> <log config:type="boolean">true</log> <show config:type="boolean">true</show> <timeout config:type="integer">10</timeout> </yesno_messages> </report> In fact, I'm more sure now that it's the above messages.. because it shows the license, for 10 seconds.. as stated above in the timeout. -- Mike Marion-Unix SysAdmin/Staff IT Engineer-http://www.qualcomm.com Marge: "Homer, I couldn't help overhearing you warp Bart's mind." Homer: "And?" ==> The Simpsons -- To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-autoinstall+help@opensuse.org
That's what works for me also. Mike Diehn Sr. SysAdmin mike.diehn@ansys.com +1-603-727-5492
-----Original Message----- From: Mike Marion [mailto:mmarion@qualcomm.com] Sent: Thursday, July 31, 2008 6:49 PM To: opensuse-autoinstall@opensuse.org Subject: Re: [opensuse-autoinstall] How to bypass AutoYaST license WITHOUTremoving the license from the media?
On Thu, Jul 31, 2008 at 11:47:02AM -0700, Richard Hefner wrote:
upon an auto installation with AutoYaST. Is there any other possible way to do this? I don't really care if it's just a hack to get it working.. We just need something. =20
I believe that this tag: <mode> <confirm config:type="boolean">false</confirm> </mode>
Is the one that makes it automatically accept it for us.
-- Mike Marion-Unix SysAdmin/Staff IT Engineer-http://www.qualcomm.com Marge: "Homer, I couldn't help overhearing you warp Bart's mind." Homer: "And?" ==> The Simpsons -- To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-autoinstall+help@opensuse.org
-- To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-autoinstall+help@opensuse.org
Darn. It's not working in our environment. We're using SLES 10, if that helps? Here's what I changed: <report> <errors> <log config:type="boolean">true</log> <show config:type="boolean">true</show> <timeout config:type="integer">10</timeout> </errors> <messages> <log config:type="boolean">true</log> <show config:type="boolean">true</show> <timeout config:type="integer">10</timeout> </messages> <warnings> <log config:type="boolean">true</log> <show config:type="boolean">true</show> <timeout config:type="integer">10</timeout> </warnings> <yesno_messages> <log config:type="boolean">true</log> <show config:type="boolean">true</show> <timeout config:type="integer">10</timeout> </yesno_messages> </report> And I also verified that this line is in-tact: <mode> <confirm config:type="boolean">false</confirm> </mode> Do the license agreements have to be on an ask list for these options to take effect? Also, did you guys remove the licenses from your install media or does this work even with the licenses present? If I take out these lines from the control.xml file, it works (however, I can't modify the control.xml file as it's on the read-only media..):
<module> <label>A License Agreement</label> <name>eula</name> <enable_back>yes</enable_back> <enable_next>yes</enable_next> </module> <module> <label>License Agreement</label> <name>license</name> <enable_back>yes</enable_back> <enable_next>yes</enable_next> </module>
Thank you for your help. -Richard -----Original Message----- From: Mike Diehn [mailto:Mike.Diehn@ansys.com] Sent: Thursday, July 31, 2008 4:22 PM To: Mike Marion; opensuse-autoinstall@opensuse.org Subject: RE: [opensuse-autoinstall] How to bypass AutoYaST license WITHOUTremoving the license from the media? That's what works for me also. Mike Diehn Sr. SysAdmin mike.diehn@ansys.com +1-603-727-5492
-----Original Message----- From: Mike Marion [mailto:mmarion@qualcomm.com] Sent: Thursday, July 31, 2008 6:49 PM To: opensuse-autoinstall@opensuse.org Subject: Re: [opensuse-autoinstall] How to bypass AutoYaST license WITHOUTremoving the license from the media?
On Thu, Jul 31, 2008 at 11:47:02AM -0700, Richard Hefner wrote:
upon an auto installation with AutoYaST. Is there any other possible way to do this? I don't really care if it's just a hack to get it working.. We just need something. =20
I believe that this tag: <mode> <confirm config:type="boolean">false</confirm> </mode>
Is the one that makes it automatically accept it for us.
-- Mike Marion-Unix SysAdmin/Staff IT Engineer-http://www.qualcomm.com Marge: "Homer, I couldn't help overhearing you warp Bart's mind." Homer: "And?" ==> The Simpsons -- To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-autoinstall+help@opensuse.org
-- To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-autoinstall+help@opensuse.org -- To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-autoinstall+help@opensuse.org
On Thu, Jul 31, 2008 at 04:52:02PM -0700, Richard Hefner wrote: Works for us for sles9-sp3 through sle*10-sp2
Do the license agreements have to be on an ask list for these options to take effect?
Not entirely sure what you mean, but grep -i license in my xml files comes up empty.
Also, did you guys remove the licenses from your install media or does this work even with the licenses present?
Didn't change anything... left it alone.
If I take out these lines from the control.xml file, it works (however, I can't modify the control.xml file as it's on the read-only media..):
Ah.. don't have any of this stuff in ours. That's probably what's trigging it for you I'd bet. We do installs off NFS and use our own autoyast files (using rules.xml to pull pieces together). -- Mike Marion-Unix SysAdmin/Staff IT Engineer-http://www.qualcomm.com "640k memory is enough for anyone." -- Bill Gates -- To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-autoinstall+help@opensuse.org
Hi Mike - We do use our own autoyast "control" file, but we also have a "control.xml" file that resides on the root directory of the ramdisk once yast loads up. I think ProductControl.ycp reads it. That's the file that has all of the license agreement modules in it. So, I guess even if it has modules in there for licensing, there is some way to turn on a timeout for the license but I have yet to find it yet. Our system does NFS installs off of loop mounts of our ISO images and then uses a tailored autoyast.xml file for the automation piece, but then also uses the control.xml file that was talked about earlier that we can't modify. I'll try a few other things and see what I can come up with. Thanks for your help! -Richard -----Original Message----- From: Mike Marion [mailto:mmarion@qualcomm.com] Sent: Thursday, July 31, 2008 9:33 PM To: opensuse-autoinstall@opensuse.org Subject: Re: [opensuse-autoinstall] How to bypass AutoYaST licenseWITHOUTremoving the license from the media? On Thu, Jul 31, 2008 at 04:52:02PM -0700, Richard Hefner wrote: Works for us for sles9-sp3 through sle*10-sp2
Do the license agreements have to be on an ask list for these options to take effect?
Not entirely sure what you mean, but grep -i license in my xml files comes up empty.
Also, did you guys remove the licenses from your install media or does this work even with the licenses present?
Didn't change anything... left it alone.
If I take out these lines from the control.xml file, it works (however, I can't modify the control.xml file as it's on the read-only media..):
Ah.. don't have any of this stuff in ours. That's probably what's trigging it for you I'd bet. We do installs off NFS and use our own autoyast files (using rules.xml to pull pieces together). -- Mike Marion-Unix SysAdmin/Staff IT Engineer-http://www.qualcomm.com "640k memory is enough for anyone." -- Bill Gates -- To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-autoinstall+help@opensuse.org -- To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-autoinstall+help@opensuse.org
From: Richard Hefner [mailto:Richard_Hefner@symantec.com] Sent: Thursday, July 31, 2008 7:52 PM To: Mike Diehn; Mike Marion; opensuse-autoinstall@opensuse.org Subject: RE: [opensuse-autoinstall] How to bypass AutoYaST license WITHOUTremoving the license from the media?
Working backwards:
Do the license agreements have to be on an ask list for these options to take effect?
never have for us
Also, did you guys remove the licenses from your install media or does this work even with the licenses present?
haven't ever used that control.xml file. I adapted ours from a reference profile generated by the Autoinstallation tool under the Miscellanceous section of yast2.
If I take out these lines from the control.xml file, it works (however, I can't modify the control.xml file as it's on the read-only media..):
Hm... Well... you try this: rip the install media's iso to a disk, mount it: mkdir -p /tmp/image.iso mount -o loop image.iso /tmp/image.iso/ cd /tmp/image.iso ls you'll see what you'd see if you put the disc in a CD/DVD reader. but you can write in here as well. Make your changes, burn a new bootable DVD or CD. Or, PXE install from the network with your own control.xml - I name mine for the OS version and config purpose, e.g. "osuse11.0-dev-desktop.xml," or "osuse10.3-compute-node.xml," etc. PXE is worth doing if you have to install more than about two systems. Manually install the first. Turn it into a PXE server and then PXE install the others over the network. Lastly:
Darn. It's not working in our environment. We're using SLES 10, if that helps? Here's what I changed:
Here's the relevant "stuff" from our osuse10.3-compute-node.xml file: <?xml version="1.0"?> <!DOCTYPE profile SYSTEM "/usr/share/autoinstall/dtd/profile.dtd"> <profile xmlns="http://www.suse.com/1.0/yast2ns" xmlns:config="http://www.suse.com/1.0/configns"> ...[gobs of stuff left out]... <general> <mode> <!-- Set this to TRUE to make this fully autoinstall --> <confirm config:type="boolean">false</confirm> </mode> <mouse> <id>none</id> </mouse> <signature-handling/> </general> ...[more gobs of stuff left out]... <report> <errors> <log config:type="boolean">true</log> <show config:type="boolean">true</show> <timeout config:type="integer">0</timeout> </errors> <messages> <log config:type="boolean">true</log> <show config:type="boolean">true</show> <timeout config:type="integer">0</timeout> </messages> <warnings> <log config:type="boolean">true</log> <show config:type="boolean">true</show> <timeout config:type="integer">0</timeout> </warnings> <yesno_messages> <log config:type="boolean">true</log> <show config:type="boolean">false</show> <timeout config:type="integer">0</timeout> </yesno_messages> </report> ...[still more gobs of stuff left out]... </profile> Mike Diehn Sr. SysAdmin mike.diehn@ansys.com +1-603-727-5492
-----Original Message----- From: Richard Hefner [mailto:Richard_Hefner@symantec.com] Sent: Thursday, July 31, 2008 7:52 PM To: Mike Diehn; Mike Marion; opensuse-autoinstall@opensuse.org Subject: RE: [opensuse-autoinstall] How to bypass AutoYaST license WITHOUTremoving the license from the media?
Darn. It's not working in our environment. We're using SLES 10, if that helps? Here's what I changed:
<report> <errors> <log config:type="boolean">true</log> <show config:type="boolean">true</show> <timeout config:type="integer">10</timeout> </errors> <messages> <log config:type="boolean">true</log> <show config:type="boolean">true</show> <timeout config:type="integer">10</timeout> </messages> <warnings> <log config:type="boolean">true</log> <show config:type="boolean">true</show> <timeout config:type="integer">10</timeout> </warnings> <yesno_messages> <log config:type="boolean">true</log> <show config:type="boolean">true</show> <timeout config:type="integer">10</timeout> </yesno_messages> </report>
And I also verified that this line is in-tact:
<mode> <confirm config:type="boolean">false</confirm> </mode>
Do the license agreements have to be on an ask list for these options to take effect? Also, did you guys remove the licenses from your install media or does this work even with the licenses present?
If I take out these lines from the control.xml file, it works (however, I can't modify the control.xml file as it's on the read-only media..):
<module> <label>A License Agreement</label> <name>eula</name> <enable_back>yes</enable_back> <enable_next>yes</enable_next> </module> <module> <label>License Agreement</label> <name>license</name> <enable_back>yes</enable_back> <enable_next>yes</enable_next> </module>
Thank you for your help.
-Richard
-----Original Message----- From: Mike Diehn [mailto:Mike.Diehn@ansys.com] Sent: Thursday, July 31, 2008 4:22 PM To: Mike Marion; opensuse-autoinstall@opensuse.org Subject: RE: [opensuse-autoinstall] How to bypass AutoYaST license WITHOUTremoving the license from the media?
That's what works for me also.
Mike Diehn Sr. SysAdmin mike.diehn@ansys.com +1-603-727-5492
-----Original Message----- From: Mike Marion [mailto:mmarion@qualcomm.com] Sent: Thursday, July 31, 2008 6:49 PM To: opensuse-autoinstall@opensuse.org Subject: Re: [opensuse-autoinstall] How to bypass AutoYaST license WITHOUTremoving the license from the media?
On Thu, Jul 31, 2008 at 11:47:02AM -0700, Richard Hefner wrote:
upon an auto installation with AutoYaST. Is there any other possible way to do this? I don't really care if it's just a hack to get it working.. We just need something. =20
I believe that this tag: <mode> <confirm config:type="boolean">false</confirm> </mode>
Is the one that makes it automatically accept it for us.
-- Mike Marion-Unix SysAdmin/Staff IT Engineer-http://www.qualcomm.com Marge: "Homer, I couldn't help overhearing you warp Bart's mind." Homer: "And?" ==> The Simpsons -- To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-autoinstall+help@opensuse.org
-- To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-autoinstall+help@opensuse.org
-- To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-autoinstall+help@opensuse.org
Hi Mike - Thank you for all your help. I just made a decision to put the modified control.xml in /y2update and everything worked from there (because ProductControl.ycp reads /y2update first and then /control.xml next.) and everything is automated now.. since we can modify that control file. Thanks! -Richard -----Original Message----- From: Mike Diehn [mailto:Mike.Diehn@ansys.com] Sent: Friday, August 01, 2008 8:38 AM To: Richard Hefner Cc: Mike Marion; opensuse-autoinstall@opensuse.org Subject: RE: [opensuse-autoinstall] How to bypass AutoYaST license WITHOUTremoving the license from the media?
From: Richard Hefner [mailto:Richard_Hefner@symantec.com] Sent: Thursday, July 31, 2008 7:52 PM To: Mike Diehn; Mike Marion; opensuse-autoinstall@opensuse.org Subject: RE: [opensuse-autoinstall] How to bypass AutoYaST license WITHOUTremoving the license from the media?
Working backwards:
Do the license agreements have to be on an ask list for these options to take effect?
never have for us
Also, did you guys remove the licenses from your install media or does this work even with the licenses present?
haven't ever used that control.xml file. I adapted ours from a reference profile generated by the Autoinstallation tool under the Miscellanceous section of yast2.
If I take out these lines from the control.xml file, it works (however, I can't modify the control.xml file as it's on the read-only media..):
Hm... Well... you try this: rip the install media's iso to a disk, mount it: mkdir -p /tmp/image.iso mount -o loop image.iso /tmp/image.iso/ cd /tmp/image.iso ls you'll see what you'd see if you put the disc in a CD/DVD reader. but you can write in here as well. Make your changes, burn a new bootable DVD or CD. Or, PXE install from the network with your own control.xml - I name mine for the OS version and config purpose, e.g. "osuse11.0-dev-desktop.xml," or "osuse10.3-compute-node.xml," etc. PXE is worth doing if you have to install more than about two systems. Manually install the first. Turn it into a PXE server and then PXE install the others over the network. Lastly:
Darn. It's not working in our environment. We're using SLES 10, if that helps? Here's what I changed:
Here's the relevant "stuff" from our osuse10.3-compute-node.xml file: <?xml version="1.0"?> <!DOCTYPE profile SYSTEM "/usr/share/autoinstall/dtd/profile.dtd"> <profile xmlns="http://www.suse.com/1.0/yast2ns" xmlns:config="http://www.suse.com/1.0/configns"> ...[gobs of stuff left out]... <general> <mode> <!-- Set this to TRUE to make this fully autoinstall --> <confirm config:type="boolean">false</confirm> </mode> <mouse> <id>none</id> </mouse> <signature-handling/> </general> ...[more gobs of stuff left out]... <report> <errors> <log config:type="boolean">true</log> <show config:type="boolean">true</show> <timeout config:type="integer">0</timeout> </errors> <messages> <log config:type="boolean">true</log> <show config:type="boolean">true</show> <timeout config:type="integer">0</timeout> </messages> <warnings> <log config:type="boolean">true</log> <show config:type="boolean">true</show> <timeout config:type="integer">0</timeout> </warnings> <yesno_messages> <log config:type="boolean">true</log> <show config:type="boolean">false</show> <timeout config:type="integer">0</timeout> </yesno_messages> </report> ...[still more gobs of stuff left out]... </profile> Mike Diehn Sr. SysAdmin mike.diehn@ansys.com +1-603-727-5492
-----Original Message----- From: Richard Hefner [mailto:Richard_Hefner@symantec.com] Sent: Thursday, July 31, 2008 7:52 PM To: Mike Diehn; Mike Marion; opensuse-autoinstall@opensuse.org Subject: RE: [opensuse-autoinstall] How to bypass AutoYaST license WITHOUTremoving the license from the media?
Darn. It's not working in our environment. We're using SLES 10, if that helps? Here's what I changed:
<report> <errors> <log config:type="boolean">true</log> <show config:type="boolean">true</show> <timeout config:type="integer">10</timeout> </errors> <messages> <log config:type="boolean">true</log> <show config:type="boolean">true</show> <timeout config:type="integer">10</timeout> </messages> <warnings> <log config:type="boolean">true</log> <show config:type="boolean">true</show> <timeout config:type="integer">10</timeout> </warnings> <yesno_messages> <log config:type="boolean">true</log> <show config:type="boolean">true</show> <timeout config:type="integer">10</timeout> </yesno_messages> </report>
And I also verified that this line is in-tact:
<mode> <confirm config:type="boolean">false</confirm> </mode>
Do the license agreements have to be on an ask list for these options to take effect? Also, did you guys remove the licenses from your install media or does this work even with the licenses present?
If I take out these lines from the control.xml file, it works (however, I can't modify the control.xml file as it's on the read-only media..):
<module> <label>A License Agreement</label> <name>eula</name> <enable_back>yes</enable_back> <enable_next>yes</enable_next> </module> <module> <label>License Agreement</label> <name>license</name> <enable_back>yes</enable_back> <enable_next>yes</enable_next> </module>
Thank you for your help.
-Richard
-----Original Message----- From: Mike Diehn [mailto:Mike.Diehn@ansys.com] Sent: Thursday, July 31, 2008 4:22 PM To: Mike Marion; opensuse-autoinstall@opensuse.org Subject: RE: [opensuse-autoinstall] How to bypass AutoYaST license WITHOUTremoving the license from the media?
That's what works for me also.
Mike Diehn Sr. SysAdmin mike.diehn@ansys.com +1-603-727-5492
-----Original Message----- From: Mike Marion [mailto:mmarion@qualcomm.com] Sent: Thursday, July 31, 2008 6:49 PM To: opensuse-autoinstall@opensuse.org Subject: Re: [opensuse-autoinstall] How to bypass AutoYaST license WITHOUTremoving the license from the media?
On Thu, Jul 31, 2008 at 11:47:02AM -0700, Richard Hefner wrote:
upon an auto installation with AutoYaST. Is there any other possible way to do this? I don't really care if it's just a hack to get it working.. We just need something. =20
I believe that this tag: <mode> <confirm config:type="boolean">false</confirm> </mode>
Is the one that makes it automatically accept it for us.
-- Mike Marion-Unix SysAdmin/Staff IT Engineer-http://www.qualcomm.com Marge: "Homer, I couldn't help overhearing you warp Bart's mind." Homer: "And?" ==> The Simpsons -- To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-autoinstall+help@opensuse.org
-- To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-autoinstall+help@opensuse.org
-- To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-autoinstall+help@opensuse.org
Brilliant! Thanks for closing the loop - I'm filing this for use next week on a new cluster I have to autoyast to life. :-) Best, Mike Mike Diehn Sr. SysAdmin mike.diehn@ansys.com +1-603-727-5492
-----Original Message----- From: Richard Hefner [mailto:Richard_Hefner@symantec.com] Sent: Friday, August 01, 2008 3:13 PM To: Mike Diehn Cc: Mike Marion; opensuse-autoinstall@opensuse.org Subject: RE: [opensuse-autoinstall] How to bypass AutoYaST license WITHOUTremoving the license from the media?
Hi Mike -
Thank you for all your help. I just made a decision to put the modified control.xml in /y2update and everything worked from there (because ProductControl.ycp reads /y2update first and then /control.xml next.) and everything is automated now.. since we can modify that control file.
Thanks!
-Richard
-----Original Message----- From: Mike Diehn [mailto:Mike.Diehn@ansys.com] Sent: Friday, August 01, 2008 8:38 AM To: Richard Hefner Cc: Mike Marion; opensuse-autoinstall@opensuse.org Subject: RE: [opensuse-autoinstall] How to bypass AutoYaST license WITHOUTremoving the license from the media?
From: Richard Hefner [mailto:Richard_Hefner@symantec.com] Sent: Thursday, July 31, 2008 7:52 PM To: Mike Diehn; Mike Marion; opensuse-autoinstall@opensuse.org Subject: RE: [opensuse-autoinstall] How to bypass AutoYaST license WITHOUTremoving the license from the media?
Working backwards:
Do the license agreements have to be on an ask list for these options to take effect?
never have for us
Also, did you guys remove the licenses from your install media or does this work even with the licenses present?
haven't ever used that control.xml file. I adapted ours from a reference profile generated by the Autoinstallation tool under the Miscellanceous section of yast2.
If I take out these lines from the control.xml file, it works (however, I can't modify the control.xml file as it's on the read-only media..):
Hm... Well... you try this:
rip the install media's iso to a disk, mount it:
mkdir -p /tmp/image.iso mount -o loop image.iso /tmp/image.iso/ cd /tmp/image.iso ls
you'll see what you'd see if you put the disc in a CD/DVD reader. but you can write in here as well. Make your changes, burn a new bootable DVD or CD.
Or, PXE install from the network with your own control.xml - I name mine for the OS version and config purpose, e.g. "osuse11.0-dev-desktop.xml," or "osuse10.3-compute-node.xml," etc.
PXE is worth doing if you have to install more than about two systems. Manually install the first. Turn it into a PXE server and then PXE install the others over the network.
Lastly:
Darn. It's not working in our environment. We're using SLES 10, if that helps? Here's what I changed:
Here's the relevant "stuff" from our osuse10.3-compute-node.xml file:
<?xml version="1.0"?>
<!DOCTYPE profile SYSTEM "/usr/share/autoinstall/dtd/profile.dtd"> <profile xmlns="http://www.suse.com/1.0/yast2ns" xmlns:config="http://www.suse.com/1.0/configns">
...[gobs of stuff left out]...
<general> <mode> <!-- Set this to TRUE to make this fully autoinstall --> <confirm config:type="boolean">false</confirm> </mode> <mouse> <id>none</id> </mouse> <signature-handling/> </general>
...[more gobs of stuff left out]...
<report> <errors> <log config:type="boolean">true</log> <show config:type="boolean">true</show> <timeout config:type="integer">0</timeout> </errors> <messages> <log config:type="boolean">true</log> <show config:type="boolean">true</show> <timeout config:type="integer">0</timeout> </messages> <warnings> <log config:type="boolean">true</log> <show config:type="boolean">true</show> <timeout config:type="integer">0</timeout> </warnings> <yesno_messages> <log config:type="boolean">true</log> <show config:type="boolean">false</show> <timeout config:type="integer">0</timeout> </yesno_messages> </report>
...[still more gobs of stuff left out]...
</profile>
Mike Diehn Sr. SysAdmin mike.diehn@ansys.com +1-603-727-5492
-----Original Message----- From: Richard Hefner [mailto:Richard_Hefner@symantec.com] Sent: Thursday, July 31, 2008 7:52 PM To: Mike Diehn; Mike Marion; opensuse-autoinstall@opensuse.org Subject: RE: [opensuse-autoinstall] How to bypass AutoYaST license WITHOUTremoving the license from the media?
Darn. It's not working in our environment. We're using SLES 10, if that helps? Here's what I changed:
<report> <errors> <log config:type="boolean">true</log> <show config:type="boolean">true</show> <timeout config:type="integer">10</timeout> </errors> <messages> <log config:type="boolean">true</log> <show config:type="boolean">true</show> <timeout config:type="integer">10</timeout> </messages> <warnings> <log config:type="boolean">true</log> <show config:type="boolean">true</show> <timeout config:type="integer">10</timeout> </warnings> <yesno_messages> <log config:type="boolean">true</log> <show config:type="boolean">true</show> <timeout config:type="integer">10</timeout> </yesno_messages> </report>
And I also verified that this line is in-tact:
<mode> <confirm config:type="boolean">false</confirm> </mode>
Do the license agreements have to be on an ask list for these options to take effect? Also, did you guys remove the licenses from your install media or does this work even with the licenses present?
If I take out these lines from the control.xml file, it works (however, I can't modify the control.xml file as it's on the read-only media..):
<module> <label>A License Agreement</label> <name>eula</name> <enable_back>yes</enable_back> <enable_next>yes</enable_next> </module> <module> <label>License Agreement</label> <name>license</name> <enable_back>yes</enable_back> <enable_next>yes</enable_next> </module>
Thank you for your help.
-Richard
-----Original Message----- From: Mike Diehn [mailto:Mike.Diehn@ansys.com] Sent: Thursday, July 31, 2008 4:22 PM To: Mike Marion; opensuse-autoinstall@opensuse.org Subject: RE: [opensuse-autoinstall] How to bypass AutoYaST license WITHOUTremoving the license from the media?
That's what works for me also.
Mike Diehn Sr. SysAdmin mike.diehn@ansys.com +1-603-727-5492
-----Original Message----- From: Mike Marion [mailto:mmarion@qualcomm.com] Sent: Thursday, July 31, 2008 6:49 PM To: opensuse-autoinstall@opensuse.org Subject: Re: [opensuse-autoinstall] How to bypass AutoYaST license WITHOUTremoving the license from the media?
On Thu, Jul 31, 2008 at 11:47:02AM -0700, Richard Hefner wrote:
upon an auto installation with AutoYaST. Is there any other possible way to do this? I don't really care if it's just a hack to get it working.. We just need something. =20
I believe that this tag: <mode> <confirm config:type="boolean">false</confirm> </mode>
Is the one that makes it automatically accept it for us.
-- Mike Marion-Unix SysAdmin/Staff IT Engineer-http://www.qualcomm.com Marge: "Homer, I couldn't help overhearing you warp Bart's mind." Homer: "And?" ==> The Simpsons -- To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-autoinstall+help@opensuse.org
-- To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-autoinstall+help@opensuse.org
-- To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-autoinstall+help@opensuse.org
No problem, Mike. And good luck! So far, so good over here using /y2update/control.xml to provision our machines. We haven't seen any inconsistency as of yet. Thanks! -----Original Message----- From: Mike Diehn [mailto:Mike.Diehn@ansys.com] Sent: Friday, August 01, 2008 2:32 PM To: Richard Hefner Cc: Mike Marion; opensuse-autoinstall@opensuse.org Subject: RE: [opensuse-autoinstall] How to bypass AutoYaST license WITHOUTremoving the license from the media? Brilliant! Thanks for closing the loop - I'm filing this for use next week on a new cluster I have to autoyast to life. :-) Best, Mike Mike Diehn Sr. SysAdmin mike.diehn@ansys.com +1-603-727-5492
-----Original Message----- From: Richard Hefner [mailto:Richard_Hefner@symantec.com] Sent: Friday, August 01, 2008 3:13 PM To: Mike Diehn Cc: Mike Marion; opensuse-autoinstall@opensuse.org Subject: RE: [opensuse-autoinstall] How to bypass AutoYaST license WITHOUTremoving the license from the media?
Hi Mike -
Thank you for all your help. I just made a decision to put the modified control.xml in /y2update and everything worked from there (because ProductControl.ycp reads /y2update first and then /control.xml next.) and everything is automated now.. since we can modify that control file.
Thanks!
-Richard
-----Original Message----- From: Mike Diehn [mailto:Mike.Diehn@ansys.com] Sent: Friday, August 01, 2008 8:38 AM To: Richard Hefner Cc: Mike Marion; opensuse-autoinstall@opensuse.org Subject: RE: [opensuse-autoinstall] How to bypass AutoYaST license WITHOUTremoving the license from the media?
From: Richard Hefner [mailto:Richard_Hefner@symantec.com] Sent: Thursday, July 31, 2008 7:52 PM To: Mike Diehn; Mike Marion; opensuse-autoinstall@opensuse.org Subject: RE: [opensuse-autoinstall] How to bypass AutoYaST license WITHOUTremoving the license from the media?
Working backwards:
Do the license agreements have to be on an ask list for these options to take effect?
never have for us
Also, did you guys remove the licenses from your install media or does this work even with the licenses present?
haven't ever used that control.xml file. I adapted ours from a reference profile generated by the Autoinstallation tool under the Miscellanceous section of yast2.
If I take out these lines from the control.xml file, it works (however, I can't modify the control.xml file as it's on the read-only media..):
Hm... Well... you try this:
rip the install media's iso to a disk, mount it:
mkdir -p /tmp/image.iso mount -o loop image.iso /tmp/image.iso/ cd /tmp/image.iso ls
you'll see what you'd see if you put the disc in a CD/DVD reader. but you can write in here as well. Make your changes, burn a new bootable DVD or CD.
Or, PXE install from the network with your own control.xml - I name mine for the OS version and config purpose, e.g. "osuse11.0-dev-desktop.xml," or "osuse10.3-compute-node.xml," etc.
PXE is worth doing if you have to install more than about two systems. Manually install the first. Turn it into a PXE server and then PXE install the others over the network.
Lastly:
Darn. It's not working in our environment. We're using SLES 10, if that helps? Here's what I changed:
Here's the relevant "stuff" from our osuse10.3-compute-node.xml file:
<?xml version="1.0"?>
<!DOCTYPE profile SYSTEM "/usr/share/autoinstall/dtd/profile.dtd"> <profile xmlns="http://www.suse.com/1.0/yast2ns" xmlns:config="http://www.suse.com/1.0/configns">
...[gobs of stuff left out]...
<general> <mode> <!-- Set this to TRUE to make this fully autoinstall --> <confirm config:type="boolean">false</confirm> </mode> <mouse> <id>none</id> </mouse> <signature-handling/> </general>
...[more gobs of stuff left out]...
<report> <errors> <log config:type="boolean">true</log> <show config:type="boolean">true</show> <timeout config:type="integer">0</timeout> </errors> <messages> <log config:type="boolean">true</log> <show config:type="boolean">true</show> <timeout config:type="integer">0</timeout> </messages> <warnings> <log config:type="boolean">true</log> <show config:type="boolean">true</show> <timeout config:type="integer">0</timeout> </warnings> <yesno_messages> <log config:type="boolean">true</log> <show config:type="boolean">false</show> <timeout config:type="integer">0</timeout> </yesno_messages> </report>
...[still more gobs of stuff left out]...
</profile>
Mike Diehn Sr. SysAdmin mike.diehn@ansys.com +1-603-727-5492
-----Original Message----- From: Richard Hefner [mailto:Richard_Hefner@symantec.com] Sent: Thursday, July 31, 2008 7:52 PM To: Mike Diehn; Mike Marion; opensuse-autoinstall@opensuse.org Subject: RE: [opensuse-autoinstall] How to bypass AutoYaST license WITHOUTremoving the license from the media?
Darn. It's not working in our environment. We're using SLES 10, if that helps? Here's what I changed:
<report> <errors> <log config:type="boolean">true</log> <show config:type="boolean">true</show> <timeout config:type="integer">10</timeout> </errors> <messages> <log config:type="boolean">true</log> <show config:type="boolean">true</show> <timeout config:type="integer">10</timeout> </messages> <warnings> <log config:type="boolean">true</log> <show config:type="boolean">true</show> <timeout config:type="integer">10</timeout> </warnings> <yesno_messages> <log config:type="boolean">true</log> <show config:type="boolean">true</show> <timeout config:type="integer">10</timeout> </yesno_messages> </report>
And I also verified that this line is in-tact:
<mode> <confirm config:type="boolean">false</confirm> </mode>
Do the license agreements have to be on an ask list for these options to take effect? Also, did you guys remove the licenses from your install media or does this work even with the licenses present?
If I take out these lines from the control.xml file, it works (however, I can't modify the control.xml file as it's on the read-only media..):
<module> <label>A License Agreement</label> <name>eula</name> <enable_back>yes</enable_back> <enable_next>yes</enable_next> </module> <module> <label>License Agreement</label> <name>license</name> <enable_back>yes</enable_back> <enable_next>yes</enable_next> </module>
Thank you for your help.
-Richard
-----Original Message----- From: Mike Diehn [mailto:Mike.Diehn@ansys.com] Sent: Thursday, July 31, 2008 4:22 PM To: Mike Marion; opensuse-autoinstall@opensuse.org Subject: RE: [opensuse-autoinstall] How to bypass AutoYaST license WITHOUTremoving the license from the media?
That's what works for me also.
Mike Diehn Sr. SysAdmin mike.diehn@ansys.com +1-603-727-5492
-----Original Message----- From: Mike Marion [mailto:mmarion@qualcomm.com] Sent: Thursday, July 31, 2008 6:49 PM To: opensuse-autoinstall@opensuse.org Subject: Re: [opensuse-autoinstall] How to bypass AutoYaST license WITHOUTremoving the license from the media?
On Thu, Jul 31, 2008 at 11:47:02AM -0700, Richard Hefner wrote:
upon an auto installation with AutoYaST. Is there any other possible way to do this? I don't really care if it's just a hack to get it working.. We just need something. =20
I believe that this tag: <mode> <confirm config:type="boolean">false</confirm> </mode>
Is the one that makes it automatically accept it for us.
-- Mike Marion-Unix SysAdmin/Staff IT Engineer-http://www.qualcomm.com Marge: "Homer, I couldn't help overhearing you warp Bart's mind." Homer: "And?" ==> The Simpsons -- To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-autoinstall+help@opensuse.org
-- To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-autoinstall+help@opensuse.org
-- To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-autoinstall+help@opensuse.org
participants (3)
-
Mike Diehn
-
Mike Marion
-
Richard Hefner