Changes

Jump to: navigation, search

Debian template creation

24 bytes added, 08:46, 25 December 2007
Fix SSH host keys: use source tag
This is only useful if you installed SSH. Each individual [[VE]] should have its own pair of SSH host keys. The code below will wipe out the existing SSH keys and instruct the newly-created [[VE]] to create new SSH keys on first boot.
<!-- please do not remove <presource>...</presource> pair of tags below,
otherwise quotes after -N (-N '') are not visible -->
<presource lang="bash">
rm -f /etc/ssh/ssh_host_*
cat << EOF > /etc/rc2.d/S15ssh_gen_host_keys
EOF
chmod a+x /etc/rc2.d/S15ssh_gen_host_keys
</presource>
=== Clean packages ===

Navigation menu