explicitly enable network-bridge
[invirt/packages/invirt-xen-config.git] / debian / transform_xend-config.sxp.invirt.mako
index 400f3ea..6400043 100755 (executable)
@@ -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/^\(dom0-min-mem [0-9]*\)/(dom0-min-mem 3072)/m or die;
+s/^\#?\(xend-relocation-hosts-allow '[^']*'\)/(xend-relocation-hosts-allow '')/m or die;
+s/^\#?\(network-script '[^']*'\)/(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;