Mailinglist Archive: opensuse-autoinstall (28 mails)

< Previous Next >
RE: [opensuse-autoinstall] How to bypass AutoYaST license WITHOUTremoving the license from the media?
  • From: "Richard Hefner" <Richard_Hefner@xxxxxxxxxxxx>
  • Date: Mon, 4 Aug 2008 13:19:51 -0700
  • Message-id: <1D219FE5EE4047459C3C67DB823B74930415F0E4@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
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@xxxxxxxxx]
Sent: Friday, August 01, 2008 2:32 PM
To: Richard Hefner
Cc: Mike Marion; opensuse-autoinstall@xxxxxxxxxxxx
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@xxxxxxxxx
+1-603-727-5492

-----Original Message-----
From: Richard Hefner [mailto:Richard_Hefner@xxxxxxxxxxxx]
Sent: Friday, August 01, 2008 3:13 PM
To: Mike Diehn
Cc: Mike Marion; opensuse-autoinstall@xxxxxxxxxxxx
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@xxxxxxxxx]
Sent: Friday, August 01, 2008 8:38 AM
To: Richard Hefner
Cc: Mike Marion; opensuse-autoinstall@xxxxxxxxxxxx
Subject: RE: [opensuse-autoinstall] How to bypass AutoYaST license
WITHOUTremoving the license from the media?


From: Richard Hefner [mailto:Richard_Hefner@xxxxxxxxxxxx]
Sent: Thursday, July 31, 2008 7:52 PM
To: Mike Diehn; Mike Marion; opensuse-autoinstall@xxxxxxxxxxxx
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@xxxxxxxxx
+1-603-727-5492

-----Original Message-----
From: Richard Hefner [mailto:Richard_Hefner@xxxxxxxxxxxx]
Sent: Thursday, July 31, 2008 7:52 PM
To: Mike Diehn; Mike Marion; opensuse-autoinstall@xxxxxxxxxxxx
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@xxxxxxxxx]
Sent: Thursday, July 31, 2008 4:22 PM
To: Mike Marion; opensuse-autoinstall@xxxxxxxxxxxx
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@xxxxxxxxx
+1-603-727-5492

-----Original Message-----
From: Mike Marion [mailto:mmarion@xxxxxxxxxxxx]
Sent: Thursday, July 31, 2008 6:49 PM
To: opensuse-autoinstall@xxxxxxxxxxxx
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@xxxxxxxxxxxx
For additional commands, e-mail:
opensuse-autoinstall+help@xxxxxxxxxxxx


--
To unsubscribe, e-mail:
opensuse-autoinstall+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail:
opensuse-autoinstall+help@xxxxxxxxxxxx



--
To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-autoinstall+help@xxxxxxxxxxxx

< Previous Next >