-
Notifications
You must be signed in to change notification settings - Fork 45
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to persist user after installation on Ubuntu 22.04.3 #292
Comments
I suspect this is because 22.04 uses Subiquity and overlay file systems, whereas 20.04 did not. |
The same happened to me. The base image I imported was also ubuntu22.04.3. |
I have a similar situation. |
@misiek303, |
I will assume you are customizing Ubuntu Server 22.04 ISO, which uses the Subiquity installer, and not the 22.04 Desktop ISO. You will need to install using the minimal install option, as described in Issue #295, Installed packages via apt in Cubic Terminal don't exist in the final ISO). You can create users using the However, you should not have to manually create this user if you install using the minimal install option I described above. |
Ubuntu Server 22.04 uses the Subiquity installer. You will need to install using the minimal install option, as described in Issue #295, Installed packages via apt in Cubic Terminal don't exist in the final ISO). The You can use one these techniques to work around this:
|
I've tried the second way, but still haven't customized what I need in /etc/fstab.
iso:ubuntu-22.04.3-live-server-amd64.iso |
I think the format needs to be something like this:
Where I suggest making sure the
|
@PJ-Singh-001 Hi, I have the similar issue. Would you please help to take a look on this? Thank you in adavnace! |
Describe the question
Users created on virtual environment doesn't seem to persist on Ubuntu 22.04.3. It seems odd as it would persist on Ubuntu 20.04 for a previous installation.
What you have tried
Adding a user with
useradd
or even throughapt
package management have the users showing on the/etc/passwd
on thecustom-root
but the changes doesn't reflect after ISO installation.Steps to replicate:
/etc/passwd
withcat /etc/passwd | grep mongodb
/etc/passwd
withcat /etc/passwd | grep mongodb
Expected behaviour
Have users persisting on installed after ISO installation
OS Information (please complete the following information):
Cubic Information (please complete the following information):
Cubic version... 2023.12.85
The text was updated successfully, but these errors were encountered: