svn path=/trunk/packages/hvirt-devconfig/; revision=2785
* Added a postinst to set the default_realm appropriately
* Fixed entry for console in master.yaml
- --
+ -- Greg Brockman <gdb@mit.edu> Thu, 24 Dec 2009 19:34:11 -0500
hvirt-devconfig (0.5) unstable; urgency=low
case "$1" in
configure)
# Need to do it like this to avoid shell injection
- /usr/bin/perl -i -e '$r = `invirt-getconf kerberos.realm`; $r.chomp;
+ /usr/bin/perl -i -e '$r = `invirt-getconf kerberos.realm`; chomp($r);
while(<>) { s/^([ \t]*default_realm *=).*$/\1 $r/m; print; }' /etc/krb5.conf.invirt
;;