Roman Khudobei Posted January 12, 2023 Posted January 12, 2023 (edited) Hi I want to modify base armbian image using choot in order to install necessary software. I am also creating user during that process. My question is how can I skip or prefill the form that appears on first run? (user creation, time zone setting etc.) I was surfing the forum and found this answer. So, I came up with few options: 1) It looks like I can prefill my desired values for the form in "/usr/lib/armbian/armbian_firstlogin" file by editing it during chroot 2) I can remove user input parts in "/usr/lib/armbian/armbian_firstlogin", but preserve other important lines, since user will be created during chroot Is this valid options or there is more proper way to do this? Edited January 12, 2023 by Roman Khudobei 0 Quote
atone Posted January 12, 2023 Posted January 12, 2023 Why not make an image when you're done? 0 Quote
Roman Khudobei Posted January 16, 2023 Author Posted January 16, 2023 Quote Why not make an image when you're done? We have automated process of building images and if some new package is necessary we adjust our build process. I think it's more convenient. 0 Quote
atone Posted January 16, 2023 Posted January 16, 2023 I don't know if editing armbian_firstlogin is the right thing to do. Wouldn't it prevent the source code from being updated (git pull) or make it more difficult? Did you already looked at the following links? https://docs.armbian.com/Developer-Guide_User-Configurations/ https://docs.armbian.com/Developer-Guide_Extensions/ https://docs.armbian.com/Developer-Guide_Extensions-Hooks/ Don't have experience with such things yet, but hope it helps. 1 Quote
Roman Khudobei Posted January 23, 2023 Author Posted January 23, 2023 (edited) Thank you @atone for sending links, I will check them. Looks like it's related to custom Armbian build creation. I don't want to dig into it right now, because I'm not familiar with those processes and it will take some time to learn. Looks like editing armbian_firstlogin works for me currently. Edited January 23, 2023 by Roman Khudobei 0 Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.