source: trunk/packages/invirt-cluster-config/cluster.conf.mako @ 1796

Last change on this file since 1796 was 1520, checked in by broder, 16 years ago

Initial invirt-cluster-config package for configuring cman and clvm

File size: 304 bytes
Line 
1<%
2from invirt.config import structs as cfg
3%>\
4<?xml version="1.0"?>
5<cluster name="invirt" config_version="1">
6  <cman />
7  <clusternodes>
8% for id, host in enumerate(cfg.hosts):
9    <clusternode name="${host.hostname.split('.')[0]}-internal" nodeid="${id + 1}" />
10% endfor
11  </clusternodes>
12</cluster>
Note: See TracBrowser for help on using the repository browser.