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

Custom init script? #35

Closed
khuongduybui opened this issue May 19, 2019 · 4 comments
Closed

Custom init script? #35

khuongduybui opened this issue May 19, 2019 · 4 comments

Comments

@khuongduybui
Copy link

I am trying to build a custom distro where the base image does not contain "useradd".
How do I provide a custom init script that install packages like shadow-utils, sudo, passwd, util-linux-user, etc.?

@yuk7
Copy link
Owner

yuk7 commented May 21, 2019

You can't use any init script now,sorry...
But you can use custom .tar.gz package.

@khuongduybui
Copy link
Author

If I launch the WSL instance with the provided base rootfs.tar.gz, then install whatever I need, and then use the launcher's backup functionality to create my custom tar.gz, can I use it as the source rootfs.tar.gz on another machine?

@yuk7
Copy link
Owner

yuk7 commented May 21, 2019

Yes,you can.
You can use backup tar.gz for another machines.

@khuongduybui
Copy link
Author

Got it, thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants