projects
/
invirt/packages/invirt-cluster-config.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Start clvm as well as cman
[invirt/packages/invirt-cluster-config.git]
/
cluster.conf.mako
1
<%
2
from 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>