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

Setup default timezone for jail #266

Open
johndo100 opened this issue May 23, 2023 · 3 comments
Open

Setup default timezone for jail #266

johndo100 opened this issue May 23, 2023 · 3 comments
Labels

Comments

@johndo100
Copy link

Hi
I have several jail on pot manager but it's timezone is not same as their host.
How can I make tz default as host when I create new one jail.
Please help!

@grembo
Copy link
Collaborator

grembo commented May 23, 2023

The easiest way to do this is to copy-in the localtime file from your host system, should be something like this (untested):

pot copy-in -s /etc/localtime -d /etc/localtime -p mypot

@grembo
Copy link
Collaborator

grembo commented May 25, 2023

@tuanth66 Did this help?

@johndo100
Copy link
Author

@tuanth66 Did this help?

Sorry I didn't try it yet. I'll try and feedback soon.
I think it's more convenient if I can make it default in the config file.

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

No branches or pull requests

2 participants