Merge pull request #651 from hashicorp/b-qemu-port-forwarding

Adding a , between args to netdav
This commit is contained in:
Diptanu Choudhury 2016-01-05 15:22:57 -08:00
commit 75bb8c930d
1 changed files with 1 additions and 1 deletions

View File

@ -167,7 +167,7 @@ func (d *QemuDriver) Start(ctx *ExecContext, task *structs.Task) (DriverHandle,
if len(forwarding) != 0 {
args = append(args,
"-netdev",
fmt.Sprintf("user,id=user.0%s", strings.Join(forwarding, ",")),
fmt.Sprintf("user,id=user.0,%s", strings.Join(forwarding, ",")),
"-device", "virtio-net,netdev=user.0",
)
}