feat: multiple commands to run in container
This commit is contained in:
@ -47,7 +47,7 @@ func (centos CentOS) Packages() (pkgs []string, err error) {
|
||||
"| grep -v src " +
|
||||
"| cut -d ' ' -f 1"
|
||||
|
||||
output, err := c.Run(config.Dir("tmp"), cmd)
|
||||
output, err := c.Run(config.Dir("tmp"), []string{cmd})
|
||||
if err != nil {
|
||||
return
|
||||
}
|
||||
|
Reference in New Issue
Block a user