Werner Fischer wrote:

I don't care about the IP address during installation (the IP addresses
will be changed afterwards anyway). The hostname should always be the
same for a machine in a class (either "system1" or "system2"). Is there
a way to omit the step "Collecting MAC addresses"?

Yes, if you don't need fixed addresses configure your dhcp in a way that every machine gets a random ipaddress:

/etc/dhcpd.conf:

  subnet 172.16.240.0 netmask 255.255.255.0 {
    range 172.16.240.140 172.16.240.179;
  }
  filename "pxelinux.0";
  option root-path "/var/lib/fai/nfsroot";

Question 2:
The hardware for machines for "system1" class and "system2" class is
exactly the same. If the faiserver has two network interfaces, is it
possible to use both network interfaces for FAI installation in a way
that machines, that are connected to eth0 on the faiserver will be in
class "system1" and machines, that are connected to eth1 on the
faiserver will be in class "system2"?

Yes. Give your server two different ip addresses:
ifconfig eth0 172.16.240.7
ifconfig eth1 192.168.1.7

Just assign different ip-addresses for the different networks:
/etc/dhcpd.conf:
  subnet 172.16.240.0 netmask 255.255.255.0 {
    range 172.16.240.140 172.16.240.179;
  }

  subnet 192.168.1.0 netmask 255.255.255.0 {
    range 192.168.1.140 192.168.1.179;
  }

Ingo

Reply via email to