Skip to content

Commit

Permalink
added comment about .dockerenv for srl
Browse files Browse the repository at this point in the history
  • Loading branch information
hellt committed Jun 15, 2021
1 parent 192ec5e commit b93604d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion clab/srl.go
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ func initSRLNode(c *CLab, nodeCfg NodeConfig, node *types.Node, user string, env
log.Fatalf("wrong node type. '%s' doesn't exist. should be any of %s", node.NodeType, strings.Join(keys, ", "))
}

// initialize specifc container information
// the addition touch is needed to support non docker runtimes
node.Cmd = "sudo bash -c 'touch /.dockerenv && /opt/srlinux/bin/sr_linux'"

kindEnv := map[string]string{"SRLINUX": "1"}
Expand Down

0 comments on commit b93604d

Please sign in to comment.