Hi,
I had a quick question, I found a stackscript that seemed to be what im after, but it is designed for Ubunutu and I am running Debian.
This is the ubunutu specific bit:
Code:
source <ssinclude StackScriptID="123"> ## lib-system-ubuntu {
# Set hostname
if [ "$HOSTNAME" ]; then
system_update_hostname "$HOSTNAME"
fi
# Add users
if [ "$USERNAME" ]; then
system_add_user "$USERNAME" "$PASSWORD" "sudo"
system_user_add_ssh_key "$USERNAME" "$SSH_KEY"
fi
system_add_user "$DEPLOY_USERNAME" "$PASSWORD" "sudo"
system_user_add_ssh_key "$DEPLOY_USERNAME" "$SSH_KEY"
# SSH
system_sshd_passwordauthentication "no"
system_sshd_permitrootlogin "no"
system_sshd_pubkeyauthentication "yes"
## }Can I just change this:
Code:
lib-system-ubuntu
to this:
Code:
lib-system-debian
Thanks for any help you can give?
James