%>
EOF
-s/^\#?\(xend-relocation server [a-z]*\)/(xend-relocation-server yes)/m or die;
+s/^\#?\(xend-relocation-server [a-z]*\)/(xend-relocation-server yes)/m or die;
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/^(\# )?\(network-script network-bridge\)/(network-script 'network-bridge')/m or die;