Skip to content

Ubuntu user does not exist in container at startup of container #9

Description

@maratstepanov

At https://github.com/flongo82/raspberry_virtualization/blob/daemon/server.js#L395:

exec(`lxc exec ${name} -- usermod -a -G gpio ubuntu`, (error, stdout, stderr) => {

we get error:

An error has occured while adding ubuntu user to gpio group: Error: Command failed: lxc exec test1 -- usermod -a -G gpio ubuntu
usermod: user 'ubuntu' does not exist

If we get into the container, we can see that ubuntu user exists.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions