lp:~gandelman-a/ubuntu/precise/cobbler-enlist/avahi
- Get this branch:
- bzr branch lp:~gandelman-a/ubuntu/precise/cobbler-enlist/avahi
Branch merges
Branch information
- Owner:
- Adam Gandelman
- Status:
- Development
Recent revisions
- 10. By Adam Gandelman
-
Add support for multiple network interfaces (convert enlister->netif
to linked list enlister->netifs). When no interfaces specified, defaults
to registering all interfaces on the system. (LP: #868492) - 8. By Adam Gandelman
-
Register all valid network interfaces when enlisting (LP: #868492)
This converts enlister->netif to a linked-list (enlister->netifs). Each node
of the LL is of struct netif, which contains an interface name and macaddr.Any number of interfaces can be supplied via the command line. Each interface
is appended to the link list as a struct netif with the macaddr left NULL.If no interfaces are supplied via argv, the list is populated with every
interface on the system (the macaddr for each left NULL).What is contained in the enlister->netifs list is then verified. In the event
a non-existent interface was supplied via argv, it is removed from the list.
If enlister->netifs is empty (ie, none of the interfaces supplied actually
exist), die.Nodes remaining in enlister->netifs get their mac addr's populated via ioctl.
Non-standard devices (ie, bridges not backed by any device) may contain a bad
mac addr, these are skipped. After populating, error out if the list does not
contain at least one valid mac address.During system registration, loop over enlister->netifs and register each device.
On the cobbler side, the system ends up with something like:
# cobbler system dumpvars --name=testnode | grep mac_address_
mac_address_eth0 : 90:e6:ba:54:93:b9
mac_address_eth1 : 00:04:5a:5e:62:5f
mac_address_virbr1 : 52:54:00:c2:5d:94
mac_address_vnet0 : fe:16:3e:3e:a9:1a
mac_address_vnet1 : fe:54:00:4d:7e:a0Cobbler will serve the profile via netboot to any of the interfaces.
- 5. By Dave Walker
-
* debian/
cobbler- enlist- udeb.templates: Updated warning-note template to
provide details, and a warning. (LP: #862567)
* debian/cobbler- enlist- udeb.postinst: Provided speech-marks for execute
stanza.
* debian/cobbler- enlist. README. Debian: Initial document, including warning
that enlistment is sent without encryption. (LP: #862567)
Branch metadata
- Branch format:
- Branch format 7
- Repository format:
- Bazaar repository format 2a (needs bzr 1.16 or later)
- Stacked on:
- lp:ubuntu/precise/cobbler-enlist