source: trunk/packages/invirt-xen-config/debian/transform_xend-config.sxp.invirt.mako @ 1438

Last change on this file since 1438 was 1261, checked in by broder, 16 years ago

Generate and install /etc/xen/xend-config.sxp in invirt-xen-config

  • Property svn:executable set to *
File size: 369 bytes
RevLine 
[1261]1#!/usr/bin/perl -0n
2print <<'EOF';
3<%
4from invirt.config import structs as cfg
5import os
6hostname = os.uname()[1]
7%>
8EOF
9
10s/^\#?\(xend-relocation-address ''\)/(xend-relocation-address '\${hostname}-internal')/m or die;
11s/^\(xend-relocation-hosts-allow '[^']*'\)/(xend-relocation-hosts-allow '')/m or die;
12s/^\(dom0-min-mem [0-9]*\)/(dom0-min-mem 1536)/m or die;
13print;
Note: See TracBrowser for help on using the repository browser.