Skip to content

Commit

Permalink
add linux node deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
karimra committed Jun 22, 2021
1 parent e30f7ef commit b8b4e18
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion nodes/linux/linux.go
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,9 @@ func (l *linux) Config() *types.NodeConfig { return l.cfg }

func (l *linux) PreDeploy(configName, labCADir, labCARoot string) error { return nil }

func (l *linux) Deploy(ctx context.Context, r runtime.ContainerRuntime) error { return nil }
func (l *linux) Deploy(ctx context.Context, r runtime.ContainerRuntime) error {
return r.CreateContainer(ctx, l.cfg)
}

func (l *linux) PostDeploy(ctx context.Context, r runtime.ContainerRuntime, ns map[string]nodes.Node) error {
log.Debugf("Running postdeploy actions for Linux '%s' node", l.cfg.ShortName)
Expand Down

0 comments on commit b8b4e18

Please sign in to comment.