1
0

feat: multiple commands to run in container

This commit is contained in:
2023-05-23 20:46:09 +00:00
parent e302c447f5
commit c6e06d8e3e
6 changed files with 17 additions and 10 deletions

View File

@ -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
}