[et-mgmt-tools] build over eth1

Matt Baker matt.baker at colocity.com
Fri Jun 27 13:14:04 UTC 2008


>>
>> The system was added to cobbler using the following command:
>>
>> cobbler system add --profile=CentOS-5.1-x86_64 --interface=0 -- 
>> ip=x..x.x.1 --mac=00:x:x:x:9A:F8 --gateway=x.x.x.254 --interface=1  
>> --name=00:x:x:x:9A:F9
>>
> This is  fine, in fact, interface=0 is the default, so you don't  
> need to specify it.   You can have any number of interfaces listed  
> here (well, up to 8 currently), and you do not need to enter all of  
> them into Cobbler, just the ones that you need to show up in the  
> PXE Linux tree and possibly for DHCP reservations.
>

Following on from this, I am finding an issue which I cannot seem to  
work out where I am going wrong.

Issuing the command:

# cobbler system add --name=test --profile=CentOS-5.1-x86_64 -- 
mac=00:15:60:ED:9A:F8 --ip=119.252.19.1 --gateway=119.252.19.254 -- 
interface=1 --mac=00:15:60:ED:9A:F9 --ip=10.2.25.1


# cobbler system report
system			: test
profile			: CentOS-5.1-x86_64
kernel options	: {}
kickstart			: <<inherit>>
ks metadata		: {}
netboot enabled? : True
owners			: ['admin']
server			: <<inherit>>
virt cpus			: <<inherit>>
virt file size		: <<inherit>>
virt path			: <<inherit>>
virt ram			: <<inherit>>
virt type			: <<inherit>>
interface			: intf0
   mac address	:
   ip address		:
   hostname		:
   gateway		:
   subnet			:
   virt bridge		:
   dhcp tag		:
interface			: intf1
   mac address	: 00:15:60:ED:9A:F9
   ip address		: 10.2.25.1
   hostname		:
   gateway		: 119.252.19.254
   subnet			:
   virt bridge		:
   dhcp tag		:


I have tried a few options, like leaving off the first --mac entry,  
putting in an --interface=0 statement etc, but in all cases it  
appears any options are only used for the 2nd interface.  Leaving off  
the 2nd interface definitions:
# cobbler system add --name=test --profile=CentOS-5.1-x86_64 -- 
mac=00:15:60:ED:9A:F8 --ip=119.252.19.1 --gateway=119.252.19.254

places all the configuration as expected under intf0


Anyone have a suggestion on where I am going wrong?

Cheers,
Matt




More information about the et-mgmt-tools mailing list