X-Git-Url: http://xvm.mit.edu/gitweb/invirt/packages/invirt-xen-config.git/blobdiff_plain/d738713d80b9edf37b3e51d75cb4cc6e1376fdb2:/debian/transform_xend-config.sxp.invirt.mako..7ba21cb807684b4773aa497b7c654d1ed7d68bfb:/templatize-xend-config diff --git a/debian/transform_xend-config.sxp.invirt.mako b/templatize-xend-config similarity index 74% rename from debian/transform_xend-config.sxp.invirt.mako rename to templatize-xend-config index 0ed5816..1dc1a3a 100755 --- a/debian/transform_xend-config.sxp.invirt.mako +++ b/templatize-xend-config @@ -18,6 +18,8 @@ if internal_ip is None: EOF s/^\#?\(xend-relocation-address ''\)/(xend-relocation-address '\${internal_ip}')/m or die; -s/^\(xend-relocation-hosts-allow '[^']*'\)/(xend-relocation-hosts-allow '')/m or die; +s/^\#?\(xend-relocation-hosts-allow '[^']*'\)/(xend-relocation-hosts-allow '')/m or die; +# s/^(\# )?\(network-script network-bridge\)/(network-script 'network-bridge')/m or die; s/^\(dom0-min-mem [0-9]*\)/(dom0-min-mem 1536)/m or die; +s/\$(\{XEN_CONFIG_DIR\})/$1/m or die; print;