From 7f5f192a237b742a4a76fb1087277577d804865b Mon Sep 17 00:00:00 2001 From: Evan Broder Date: Wed, 26 Nov 2008 01:28:15 -0500 Subject: [PATCH] Instead of using whatever comes out of uname, explicitly strip the hostname down to the short form svn path=/trunk/packages/invirt-xen-config/; revision=1786 --- debian/changelog | 7 +++++++ debian/transform_xend-config.sxp.invirt.mako | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/debian/changelog b/debian/changelog index 943cfb7..f9fec3a 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,10 @@ +invirt-xen-config (0.0.18) unstable; urgency=low + + * Explicitly grab the short form of the hostname to assemble the backend + hostname + + -- Evan Broder Wed, 26 Nov 2008 01:27:07 -0500 + invirt-xen-config (0.0.17) unstable; urgency=low * Pin libxen3 to the hardy repository so it doesn't get pulled from 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 -- 1.7.9.5