-----Original Message----- From: Anas Nashif [mailto:email@example.com] Sent: Thursday, March 03, 2005 11:01 PM To: Francois, Jean (J.L.) Cc: firstname.lastname@example.org Subject: Re: [suse-autoinstall] CDROM Based Load With Network Access Confirmation
Francois, Jean (J.L.) wrote:
I have an interesting problem I am trying to solve.
Is there a way to trigger an AutoYaST install that :
- does a complete install from the CDROM
- reads the autoinst.xml control file from the floppy drive
some content from a web server and does not get a 404
without having to write a <PRE> script or modify the install root image on the CDROM image?
Why not use a pre-script? What is the problem with that? How do you want to tell yast to contact a web server and do something without using a script?
If I do end up using lwp or wget, is there a smart way to integrate this so it can interrupt the install process if a file cannot be retrieved from a web server?
-- Jean L. Francois Sends...
- Enterprise Platform Engineering & Certification ( LINUX )
- Linux Counter Registered User #8863 1994-12-13 06:39:24 http://www.novell.com/linux/truth/
- Torquemada Linux - For the Inquisitive...
I was just checking to see if anyone knew of another way before I went forward. Today, for network installs we use an ACL in the webserver so if the IP is not in the ACL the load fails. This is not as easy to do with a pure CDROM based install for license tracking.
Since the AutoYaST control file is on a floppy I don't have control over it. In this case, I will just have to trust no one comes along with VI or notepad and changes anything :)
My plan now is to use a <PRE> script to check /proc/cmdline for what type of CDROM based install is being done and use the result of the HTTP check as the trigger for whether or not to continue with the install.
-- Jean L. Francois - Enterprise Platform Engineering & Certification ( LINUX ) - Linux Counter Registered User #8863 1994-12-13 06:39:24 http://www.novell.com/linux/truth/ Torquemada Linux - For the Inquisitive...