On Thu, May 31, 2012 at 9:39 PM, Dominik Baumann <dominik.baumann@geekmail.de> wrote:
Hello Christopher,
first thanks for your mail.
No problem at all. I've received much help on this list myself. (Below I'll be omitting those parts of your comments that look fine.)
On 05/31/2012 12:00 AM, 686f6c6d wrote:
hostid=...
I'm assuming that's a typo, that should be hostiP.
How does the machine receive the autoyast profile?
That's the problem: It doesn't (at least per http) [...] because the machine (autoyast is running on) hasn't a working net configuration yet, no IP, [...] autoyast=http://www.../.../autoinst.xml [...] Then the following error occures: "An error occured while fetching the profile: Cannot find URL 'http://www..../.../autoinst.xml' via protocol HTTP(S). Server returned code 0."
Ok, so far it looks like you're doing everything correct and the error indicates that the network just doesn't come up. Assuming you were using "hostip", the only idea I can come up with is something i vaguely remember (which might be wrong, I hope somebody will correct me): IIRC, specifying the correct network parameters isn't enough (in some circumstances? always?). For the network to be activated, you also need to use a networked install source like install=http://download.opensuse.org/distribution/12.1/repo/oss/ I think that's because linuxrc/yast tries to be smart about detecting if the network is needed. Please try that as a last resort. (I've been using this setup almost exclusively, so that works for me at least.)
I didn't thought that i need the "install"-parameter, because the installation source is already set to DVD in the menu below in
That should be ok then (if I'm wrong about install=http[...] above).
And when i add that parameter like this:
install=cd:\ or install=dvd:\
These are the wrong format. But I can't find the correct syntax in the docs (maybe "install=dvd:///" might work, IIRC the triple slashes make it recursively search the dvd).
Using these linuxrc parameters causes yast (not autoyast) to _only_ use them during stage 1 of the installation (up to the first reboot; actually, these network settings are by default completely ignored by autoyast
Oh, then i'm totally on the wrong way. I want autoyast to have network so it can fetch its autoinst.xml per http. How can i achieve that?, unless using these linuxrc parameters ...
My bad, my choice of words was unclear. (This and everything below shouldn't have anything to do with your problems, because you don't even reach stage2, where these settings become relevant. But you might run into them later. When I wrote that mail, I didn't know where your installation was failing.) What I meant to say was something like this: If you use (only) the linuxrc settings, autoyast will use them in stage1 (because it "just uses" the environment that it is run in), but stage2 and the final installed system won't have network systems unless you also have network settings in your autoyast profile.
because the after-install network settings might differ from the settings during first boot). If you want to keep them afterwards (exactly as they were during install), use keep_install_network or tell autoyast to use (identical or different) static network settings [...]
I'm confused. As i understand, you mean autoyast should set net config for the finally installed sytem. But what i want is a working net config *for* autoyast, so that it can access network and fetch its autoinst.xml.
Yes, I think you understood me there. (;
In addition, 12.1's autoyast has a problem with systemd (or the other way around), as a workaround you need to "insserv autoyast" (see http://lists.opensuse.org/opensuse-autoinstall/2011-11/msg00012.html). That should be fixed in the milestone, though.
Again, if i understand it right: That also concerns the work autoyast should do, not the requirement for a working (means: net aware) autoyast.
True, that's also only relevant in stage2. You need to solve your current problem first to enjoy this one. (; PS: It might be easier in the long run to create a custom ISO that differs from the vanilla one by just the parameters you're typing in manually -- just editing the IP saves a lot of typed characters. I think I've posted this to the list before but can't find it right now. -- Kind regards 686f6c6d / Christopher 'm4z' Holm -- To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-autoinstall+owner@opensuse.org