Comment 3 for bug 1054035

Revision history for this message
Neil Wilson (neil-aldur) wrote :

Is the netdev *group* used by Ubuntu server?

The way I've done it myself prior to Quantal is to delegate the problem to the user-setup package.

add_default_user() {
 echo "Setting up '${CLOUD_DEFAULT_USERNAME}' default user"
 debconf-set-selections <<EOF
user-setup passwd/username string ${CLOUD_DEFAULT_USERNAME}
user-setup passwd/user-fullname string Default Cloud User
user-setup passwd/user-password-crypted string !
EOF
 user-setup
}

Certainly I'd expect the default user to get created. I'd consider the current failure to be an error.