Skip to content

Commit

Permalink
fix failure to pull some docker images
Browse files Browse the repository at this point in the history
Signed-off-by: Ashraf Fouda <[email protected]>
  • Loading branch information
ashraffouda committed Sep 23, 2024
1 parent 43bfe1e commit fdaddea
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pkg/vm/ch.go
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ func (m *Machine) startCloudConsole(ctx context.Context, namespace string, machi
if err := m.release(cmd.Process); err != nil {
return "", err
}
consoleURL := fmt.Sprintf("%s:%d", mycIp, port)
consoleURL := fmt.Sprintf("[%s]:%d", mycIp, port)
return consoleURL, nil
}

Expand Down Expand Up @@ -301,6 +301,7 @@ func (m *Machine) waitAndAdjOom(ctx context.Context, name string, socket string)
func (m *Machine) startFs(socket, path string) (int, error) {
cmd := exec.Command("busybox", "setsid",
"virtiofsd-rs",
"--xattr",
"--socket-path", socket,
"--shared-dir", path,
"--shared-dir-stats", fmt.Sprintf("/usr/share/btrfs/volstat.sh %s", path),
Expand Down

0 comments on commit fdaddea

Please sign in to comment.