-
Notifications
You must be signed in to change notification settings - Fork 46
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
Users are not persistent when customizing Ubuntu Server 22.04. #101
Comments
I removed the "bug" label because Cubic does not do anything with your users or configurations. You will need to figure out how to configure your users so that they are available after installation. This usually entails creating the correct files in the correct locations while you are customizing your OS in Cubic's Terminal page. I added the tags "question" and "help wanted". Hopefully someone who has done this can chime in and help. Also, may be this question may be helpful: #47 |
Did you have any luck with the procedure outlined here? |
In Ubuntu 20.04 this works as expected (i.e. users are created and they are available after ISO installation). Due to different behavior for different versions of Ubuntu I added the The quick workaround is to use a post-install script to create the users. |
Ok. I’ll test this on my end using the 22.04 ISO you linked to in your question. Please give me some time to get back to you, since I am busy with other stuff. |
Since you are customizing the Ubuntu Server ISO, I suspect this issue may be the same as #106, where changes made in Cubic are lost once the customized OS is installed. |
You can use Cloud-init to (re)create the user(s) during installation. I customized
|
Closing this issue with the solution provided above. |
Describe the bug
When customizing an Ubuntu Server image, the users created in the virtual environment are not present after installation.
To Reproduce
Expected behavior
The user created (
dummy
) as well themysql
user should be presentActual behavior
The users that were created using CUBIC live environment are not present after installation
OS Information:
Cubic Information:
The text was updated successfully, but these errors were encountered: