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

Support /var/lib/lxc/$C/priority to start up containers in order of priority. #6

Merged
merged 1 commit into from
Mar 22, 2012
Merged

Conversation

tyru
Copy link
Collaborator

@tyru tyru commented Mar 13, 2012

Just a little hack.
but I think it's useful to define start up order.

@tyru
Copy link
Collaborator Author

tyru commented Mar 13, 2012

Such as DHCP, LDAP server must start and be running before other hosts.
if this patch was applied, you can define start up order like this. (default priority is 10)

# echo 1 >/var/lib/lxc/dhcp/priority
# echo 2 >/var/lib/lxc/dns/priority
# echo 3 >/var/lib/lxc/www/priority

(just example, I never tried that situation)

phbaer pushed a commit that referenced this pull request Mar 22, 2012
Support /var/lib/lxc/$C/priority to start up containers in order of priority.
@phbaer phbaer merged commit 84fb573 into phbaer:master Mar 22, 2012
@phbaer
Copy link
Owner

phbaer commented Mar 22, 2012

Good idea, nice feature!

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

Successfully merging this pull request may close these issues.

2 participants