Jump to content

Prefill form fields on first run


Roman Khudobei

Recommended Posts

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 by Roman Khudobei
Link to comment
Share on other sites

  • Roman Khudobei changed the title to Prefill form fields on first run

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?

Don't have experience with such things yet, but hope it helps.

Link to comment
Share on other sites

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 by Roman Khudobei
Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines