Hi list! I've got a complete working installation system with autoyast - but only if it's being served by NFS (after PXE boot the client) or on a burned CD. The problem is, because of limitation with the network in our office, we have to use HTTP after PXE booting. I have some chroot install scripts that copy over a few .tgz files off the NFS server (or the CD) and un-tar them in a post install script. With HTTP, "cp" doesn't work, and I have to do an HTTP GET. I'd like to have one autoyast.xml file handle all three situations. So my questions are: 1) Is there a way to determine which type of installation is taking place during chroot script environment? (is it CD or PXE/NFS or PXE/HTTP?) 2) If it is HTTP, how does one obtain the server address, and the path to the root of the install tree during chroot Much appreciation for any help I can get! Thanks, -- Ryan
All information regarding installation are stored in /etc/install.inf. This file is copies at the end of the installation to /var/lib/YaST2. Using this file, you can determine how the installation was done. Anas Ryan Allen wrote:
Hi list!
I've got a complete working installation system with autoyast - but only if it's being served by NFS (after PXE boot the client) or on a burned CD.
The problem is, because of limitation with the network in our office, we have to use HTTP after PXE booting. I have some chroot install scripts that copy over a few .tgz files off the NFS server (or the CD) and un-tar them in a post install script. With HTTP, "cp" doesn't work, and I have to do an HTTP GET.
I'd like to have one autoyast.xml file handle all three situations.
So my questions are:
1) Is there a way to determine which type of installation is taking place during chroot script environment? (is it CD or PXE/NFS or PXE/HTTP?)
2) If it is HTTP, how does one obtain the server address, and the path to the root of the install tree during chroot
Much appreciation for any help I can get!
Thanks,
-- Ryan
participants (2)
-
Anas Nashif
-
Ryan Allen