Mailinglist Archive: opensuse-autoinstall (67 mails)

< Previous Next >
Re: [opensuse-autoinstall] Problem going from DHCP to static address during autoinstall
  • From: Jacob Emcken <je@xxxxxxxxxxxx>
  • Date: Thu, 26 Apr 2007 12:12:35 +0200 (CEST)
  • Message-id: <8447493.3151177582355628.JavaMail.root@xxxxxxxxxxxxxxxxxxx>
Hi.

I think you misunderstood what my problem is. I'll try to describe my problem better.


----- "Shaohui Zheng" <shaohui.zheng@xxxxxxxxx> wrote:
> Y ou need to add a option in your parameter like this
> 
> ... snip ...
> install=nfs://192.168.1.2/install/x86_64/sles10


I'm not trying to install from nfs.
I'm installing from http and the install goes just fine.

Within the autoyast xml configuration I have defined several NFS mount points, which the machine should use once installed. 

Like this:

    <nfs config:type="list">
      <nfs_entry>
        <mount_point>/opt/lam-6.5.9</mount_point>
        <nfs_options>bg,soft</nfs_options>
        <server_path>srv611:/opt/lam-6.5.9</server_path>
      </nfs_entry>
      <nfs_entry>
        <mount_point>/gx01</mount_point>
        <nfs_options>bg,soft</nfs_options>
        <server_path>uxfile01:/export/sta/dd1/gf/gx01</server_path>
      </nfs_entry>
      <nfs_entry>
        <mount_point>/home3</mount_point>
        <nfs_options>bg,soft</nfs_options>
        <server_path>uxfile01:/export/dyn/ddc/3</server_path>
      </nfs_entry>
    </nfs>


This is whats happening:

*   Installations is started with SELS9 CD1
*   I point it the the http server where the install will find all the RPM packages etc.
*   I point it to the autoyast configuration fil
*   The install completes and the machine reboots
*   The network settings (from the autoyast configuration file) is applyed
    BUT the DHCP address isn't released (see my previous mail for details)
*   The machine tries to mount all the NFS shares defined in the autoyast xml file (see above).
    The NFS server rejects the newly installed machine because it uses a wrong ipadress (the DHCP address).
*   I end up on with a login prompt and the NFS mounts failed

If I manually reboot the the machine when the install is done, the DCHP address isn't used anymore and the from now on I have my NFS shares with every reboot. But that isn't really a solution for me, because I need the NFS shares while running several post install scripts.


-- 
Cheers
Jacob Emcken

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

< Previous Next >
References