Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove boot2docker distribution and use socket for Serial #1

Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 8 additions & 1 deletion parallels_darwin.go
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ func (d *Driver) Create() error {

absStorePath, _ := filepath.Abs(d.ResolveStorePath("."))
if err = prlctl("create", d.MachineName,
"--distribution", "boot2docker",
"--distribution", "linux",
"--dst", absStorePath,
"--no-hdd"); err != nil {
return err
Expand Down Expand Up @@ -213,6 +213,13 @@ func (d *Driver) Create() error {
return err
}

// Configure Serial Console as a socket
if err = prlctl("set", d.MachineName,
"--device-add", "serial",
"--socket", fmt.Sprintf("parallels-serial-%s", d.MachineName)); err != nil {
return err
}

if !d.NoShare {
for i, f := range d.ShareFolders {
// Ensure the path is absolute and is available
Expand Down