Skip to content

Commit

Permalink
Merge branch 'master' into docs-publish
Browse files Browse the repository at this point in the history
  • Loading branch information
hellt committed Dec 3, 2020
2 parents 6bcc6a5 + bd4917f commit 49f1815
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ on:
paths-ignore:
- "docs/**"
- "lab-examples/**"
- "mkdocs.yml"
- "README.md"

jobs:
test:
Expand Down
3 changes: 3 additions & 0 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ nfpms:
file_name_template: "{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}"
package_name: containerlab
maintainer: Wim Henderickx <wim.henderickx@nokia.com>, Karim Radhouani <medkarimrdi@gmail.com>, Roman Dodin <dodin.roman@gmail.com>
homepage: https://containerlab.srlinux.dev
description: |
containerlab written in go
vendor: Nokia
Expand All @@ -36,3 +37,5 @@ nfpms:
files:
./lab-examples/**/*: /etc/containerlab/lab-examples
./templates/**/*: /etc/containerlab/templates
symlinks:
/usr/bin/clab: /usr/bin/containerlab
3 changes: 3 additions & 0 deletions clab/clab.go
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,9 @@ func (c *cLab) ExecPostDeployTasks(ctx context.Context, node *Node) error {
return err
}
err = c.DockerClient.ContainerStart(ctx, node.ContainerID, types.ContainerStartOptions{})
if err != nil {
return err
}
}
return nil
}
2 changes: 2 additions & 0 deletions docs/install.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@ sudo curl -sL https://get-clab.srlinux.dev | sudo bash -s -- -v 0.6.0
yum install https://github.com/srl-wim/container-lab/releases/download/v0.7.0/containerlab_0.7.0_linux_386.rpm
```

The package installer will put the `containerlab` binary in the `/usr/bin` directory as well as create the `/usr/bin/clab -> /usr/bin/containerlab` symlink. The symlink allows the users to save on typing when they use containerlab: `clab <command>`.

### Upgrade
To upgrade `containerlab` to the latest available version issue the following command:

Expand Down

0 comments on commit 49f1815

Please sign in to comment.