X-Git-Url: http://xvm.mit.edu/gitweb/invirt/packages/invirt-xen-config.git/blobdiff_plain/fff5d4676e603f215db69aa580580e2e32717a8d..7f5f192a237b742a4a76fb1087277577d804865b:/debian/transform_xend-config.sxp.invirt.mako diff --git a/debian/transform_xend-config.sxp.invirt.mako b/debian/transform_xend-config.sxp.invirt.mako index 1a3fa9a..bb31e68 100755 --- a/debian/transform_xend-config.sxp.invirt.mako +++ b/debian/transform_xend-config.sxp.invirt.mako @@ -3,7 +3,7 @@ print <<'EOF'; <% from invirt.config import structs as cfg import os -hostname = os.uname()[1] +hostname = os.uname()[1].split('.')[0] %> EOF