Skip to content
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

[BUG]: Existing users are overwritten when applying custom settings #831

Open
1 task done
besi opened this issue Mar 5, 2024 · 1 comment
Open
1 task done

[BUG]: Existing users are overwritten when applying custom settings #831

besi opened this issue Mar 5, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@besi
Copy link

besi commented Mar 5, 2024

What happened?

  1. I have an image with custom users pre-defined.
  2. I flash the image to the an SD card using custom settings (wifi / hostname and base user)
  3. The existing user was overwritten by those settings
  4. The image, which relies on that deleted user is now not working as intended

I would expect the OS customisations to be applied without the deletion of any existing users.

Version

1.8.5 (Default)

What host operating system were you using?

macOS

Host OS Version

12.6.2 (21G320)

Selected OS

Custom Talkkonnect image

Which Raspberry Pi Device are you using?

Raspberry Pi Zero, Zero W, Zero WH

What kind of storage device are you using?

microSD Card in a USB reader

OS Customisation

  • Yes, I was using OS Customisation when the bug occurred.

Relevant log output

No response

@besi besi added the bug Something isn't working label Mar 5, 2024
@tdewey-rpi
Copy link
Collaborator

OS Customisation should not have been offered when you selected the custom image.

We have no way of knowing, at the point of selecting a custom image, which of the customisation schemes we should use - and offering that choice to a user is not one I'm prepared to make in the GUI as I'm not convinced new users could make an informed choice at that part of the flow.

As such, I'm going to remove the OS customisation UI flow when you've selected a custom image. Note that this will not remove the ability to apply customisations via the rpi-imager --cli.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants