Skip to content

script to use with bare metal provisioning and network bonding

Notifications You must be signed in to change notification settings

bboles/foreman-nic-provisioning

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

foreman-nic-provisioning

This is a script intended to be called by Foreman to setup a baremetal server with network bonding. It can be used as a stand-alone script or as part of provisioning. You could call it from a Kickstart file like this:

/usr/local/bin/mkbond.sh -I <%= @host.ip %> -G <%= @host.subnet.gateway %> -N <%= @host.subnet.mask %> -V <%= @host.subnet.vlanid %>

This script makes several assumptions:

  • You are using only 2 NICs for bonding.
  • You are doing active-backup bonding.
  • You are using VLAN tagging.
  • There are caveats built in to the script for specific hardware vendors.

This script is pretty specific due to our environment but it may give you an idea on how you can setup something similar for your environment.

About

script to use with bare metal provisioning and network bonding

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages