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

First implementation of multi-container ready haconiwa #65

merged 10 commits into from Jan 13, 2017


Copy link

commented Dec 26, 2016

The example says itself:

Haconiwa.define do |config|

  root ="/var/lib/haconiwa/8cfccb3d")
  config.chroot_to root

  3.times do |i|
    config.define do |c|
      suffix = UUID.secure_uuid("%x%x") = "haconiwa-#{suffix}"
      c.init_command = ["/bin/sleep", (30 + i*10).to_s]
      c.command.set_stdout(file: "/tmp/test-#{suffix}.stdout")
      c.command.set_stderr(file: "/tmp/test-#{suffix}.stderr")

This implementation may have many bugs, so this is just a small step.

udzura added 4 commits Dec 21, 2016
udzura added 6 commits Dec 26, 2016
- And is controllable by options

This comment has been minimized.

Copy link
Member Author

commented Jan 13, 2017

CI passed(I did not say that it worked)

@udzura udzura merged commit 3f83f7a into multicontainer Jan 13, 2017
1 check passed
1 check passed
continuous-integration/travis-ci/pr The Travis CI build passed
@udzura udzura deleted the haconiwa-compose branch Jan 13, 2017
@udzura udzura changed the title [WIP]First implementation of multi-container ready haconiwa First implementation of multi-container ready haconiwa Jan 13, 2017
udzura added a commit that referenced this pull request Apr 13, 2017
[WIP]First implementation of multi-container ready haconiwa
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
1 participant
You can’t perform that action at this time.