-
Notifications
You must be signed in to change notification settings - Fork 47
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
File not copying from build machine to image #62
Comments
Hi, |
Yes this is because the radxa account is only created on boot by our first-boot script. You can Be mindful about file permissions though, since those commands are run by root. |
Hi, |
If you changed user name then you also need to change the home directory path. SSH is disabled by default, and only enabled for headless first boot. You can remove the disable_service in before.txt. |
I removed the disable_service ssh & disable_service ssh.socket from before.txt but still not be able to take ssh. |
Oh I think probably because the host key was changed while ssh was running. You probably will need to remove that line as well. |
If I add user with name of root then it's not adding it else it's working.
…On Mon, 24 Jun 2024, 12:54 pm ZHANG Yuntian, ***@***.***> wrote:
Oh I think probably because the host key was changed while ssh was
running. You probably will need to remove that line as well.
—
Reply to this email directly, view it on GitHub
<#62 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/A47YKUUD7IFIJKUCENIVV7LZI7CRRAVCNFSM6AAAAABJTVRVA6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCOBVG44TIMRQGY>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
You can't add root user because it is there already, and unlocking root user is discouraged since you can use You can just chpasswd in your image building yaml if you have to use root account. |
Hi,
I want to copy file to the /home directory of image. I executed cp command in image.yaml but not working.
Please share if you have any document for copying file or guide me how to achieve this.
The text was updated successfully, but these errors were encountered: