Open main menu

OpenVZ Virtuozzo Containers Wiki β

Changes

Debian template creation

3 bytes added, 20:23, 4 February 2011
m
Fix SSH host keys in Squeeze using dependency-based booting
=== Fix SSH host keys in Squeeze using dependency-based booting ===
rm -f /etc/ssh/ssh_host_*
<!-- please do not remove <source>...</source> pair of tags below,
otherwise quotes after -N (-N '') are not visible -->
<source lang="bash">
rm -f /etc/ssh/ssh_host_*
cat << EOF > /etc/init.d/ssh_gen_host_keys
#!/bin/sh
rm -f \$0
EOF
chmod a+x /etc/init.d/ssh_gen_host_keys
insserv /etc/init.d/ssh_gen_host_keys
</source>
chmod a+x /etc/init.d/ssh_gen_host_keys
insserv /etc/init.d/ssh_gen_host_keys
=== Change timezone ===
7
edits