projects
/
invirt/packages/invirt-vnc-server.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Updating version for precise
[invirt/packages/invirt-vnc-server.git]
/
debian
/
invirt-vnc-server.postinst
diff --git
a/debian/invirt-vnc-server.postinst
b/debian/invirt-vnc-server.postinst
index
f30b573
..
f1919ae
100755
(executable)
--- a/
debian/invirt-vnc-server.postinst
+++ b/
debian/invirt-vnc-server.postinst
@@
-26,7
+26,7
@@
case "$1" in
fi
if ! [ -e /etc/invirt/vnc/server.crt ]; then
fi
if ! [ -e /etc/invirt/vnc/server.crt ]; then
- openssl req -new -x509 -nodes -sha1 -subj '/' -key /etc/invirt/vnc/server.pem \
+ openssl req -new -x509 -nodes -sha1 -days 730 -subj "/CN=$(hostname -f)" -key /etc/invirt/vnc/server.pem \
> /etc/invirt/vnc/server.crt
fi
> /etc/invirt/vnc/server.crt
fi