Last change
on this file since 1715 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
|
Rev | Line | |
---|
[1261] | 1 | #!/usr/bin/perl -0n |
---|
| 2 | print <<'EOF'; |
---|
| 3 | <% |
---|
| 4 | from invirt.config import structs as cfg |
---|
| 5 | import os |
---|
| 6 | hostname = os.uname()[1] |
---|
| 7 | %> |
---|
| 8 | EOF |
---|
| 9 | |
---|
| 10 | s/^\#?\(xend-relocation-address ''\)/(xend-relocation-address '\${hostname}-internal')/m or die; |
---|
| 11 | s/^\(xend-relocation-hosts-allow '[^']*'\)/(xend-relocation-hosts-allow '')/m or die; |
---|
| 12 | s/^\(dom0-min-mem [0-9]*\)/(dom0-min-mem 1536)/m or die; |
---|
| 13 | print; |
---|
Note: See
TracBrowser
for help on using the repository browser.