[Bug 1054035] Re: Adding default user fails due to lack of 'netdev' group

Neil Wilson neil at aldur.co.uk
Mon Sep 24 14:41:28 UTC 2012


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.

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to cloud-init in Ubuntu.
https://bugs.launchpad.net/bugs/1054035

Title:
  Adding default user fails due to lack of 'netdev' group

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cloud-init/+bug/1054035/+subscriptions



More information about the Ubuntu-server-bugs mailing list