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

Add mounts option for tinet spec #2

Merged
merged 1 commit into from
Jan 19, 2020

Conversation

kimitoboku
Copy link
Contributor

This pull request add option mounts for tinet spec file.

For example, If I want to mount directory as follows:

nodes:
  - name: T1
    image: slankdev/frr
    mounts:
      - "`pwd`:/mnt/test"
      -  /usr/share/vim:/mnt/vim
    interfaces:
      - { name: net0, type: direct, args: T2#net0 }
  - name: T2
    image: slankdev/frr
    interfaces:
      - { name: net0, type: direct, args: T1#net0 }
`

This commit is add mounts option for spec file.
For example, If I want to mount `pwd` direcotry as follows:
```
nodes:
  - name: T1
    image: slankdev/frr
    mounts:
      - "`pwd`:/mnt/test"
    interfaces:
      - { name: net0, type: direct, args: T2#net0 }
  - name: T2
    image: slankdev/frr
    interfaces:
      - { name: net0, type: direct, args: T1#net0 }
`
```
Copy link
Collaborator

@ak1ra24 ak1ra24 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.
Thank you for your PR.

I will merge.

@ak1ra24 ak1ra24 merged commit 662cef0 into tinynetwork:master Jan 19, 2020
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.

None yet

2 participants