[et-mgmt-tools] koan network config patch

Demetri Mouratis dmourati at gmail.com
Thu Apr 24 21:14:45 UTC 2008


Al,

Cool!  I was just in need of such a feature myself but for bare-metal
installs.  We allow DHCP on our "build VLAN" only.  Once machines get
installed with base OS, they are then customized with static IPs and
hostnames then re-networked to their target VLAN, server network, DMZ,
etc.

This is really handy.  I'll give it a shot now.

-D

On Thu, Apr 24, 2008 at 1:12 PM, Al Tobey <tobert at gmail.com> wrote:
> The attached patch adds network configuration options to koan so that
>  it will add them to the kernel command line with --autonet.   This
>  makes it really trivial to install VM's with static networking from a
>  profile.
>
>  for vmnum in `seq -f%02g 0 99`
>  do
>       let ip='vmnum + 16'
>       domU="myvm-${vmnum}"
>       koan -v -s cobbler -n -p centos5-xen -V $domU -P vgxen00 -A
>  --ip=192.168.9.$ip --netmask=255.255.255.0 --gateway=192.168.9.1
>  --hostname=$domU
>  done
>
>  While I could add the systems to cobbler with a similar loop then
>  install using a system, I don't really want to track all of these VM's
>  in cobbler.   Some are throw-away.  Some come and go too often for it
>  to be useful.    "Just use DHCP" is not the answer, due to a number of
>  issues, both technical and historical.
>
>  -Al
>
> _______________________________________________
>  et-mgmt-tools mailing list
>  et-mgmt-tools at redhat.com
>  https://www.redhat.com/mailman/listinfo/et-mgmt-tools
>




More information about the et-mgmt-tools mailing list