Re: build over eth1

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




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 been trying to try a few different combinations, all with basically the same result. Until that it, I fired up the web interface to cobbler! Entering the 2nd interface information via the web interface works fine as the system report below shows. Has anyone managed to get more than one interface configured via the command line tool?

system           : test2
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     : 119.252.19.2
  hostname       : test.com
  gateway        : 119.252.19.254
  subnet         : 255.255.255.0
  virt bridge    :
  dhcp tag       :
interface        : intf1
  mac address    : 00:15:60:ed:9a:f9
  ip address     : 10.1.25.45
  hostname       :
  gateway        :
   subnet         :
  virt bridge    :
  dhcp tag       :



_______________________________________________
et-mgmt-tools mailing list
et-mgmt-tools@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/et-mgmt-tools

[Index of Archives]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux