Skip to content

Commit fdaddea

Browse files
committed
fix failure to pull some docker images
Signed-off-by: Ashraf Fouda <[email protected]>
1 parent 43bfe1e commit fdaddea

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

pkg/vm/ch.go

+2-1
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ func (m *Machine) startCloudConsole(ctx context.Context, namespace string, machi
7272
if err := m.release(cmd.Process); err != nil {
7373
return "", err
7474
}
75-
consoleURL := fmt.Sprintf("%s:%d", mycIp, port)
75+
consoleURL := fmt.Sprintf("[%s]:%d", mycIp, port)
7676
return consoleURL, nil
7777
}
7878

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

0 commit comments

Comments
 (0)