Merge pull request #2199 from rickard-von-essen/prl_pd11
Support Parallels Desktop 11
This commit is contained in:
commit
0b819e4dd8
|
@ -73,6 +73,12 @@ func NewDriver() (Driver, error) {
|
||||||
log.Printf("prlctl path: %s", prlctlPath)
|
log.Printf("prlctl path: %s", prlctlPath)
|
||||||
|
|
||||||
drivers = map[string]Driver{
|
drivers = map[string]Driver{
|
||||||
|
"11": &Parallels10Driver{
|
||||||
|
Parallels9Driver: Parallels9Driver{
|
||||||
|
PrlctlPath: prlctlPath,
|
||||||
|
dhcp_lease_file: dhcp_lease_file,
|
||||||
|
},
|
||||||
|
},
|
||||||
"10": &Parallels10Driver{
|
"10": &Parallels10Driver{
|
||||||
Parallels9Driver: Parallels9Driver{
|
Parallels9Driver: Parallels9Driver{
|
||||||
PrlctlPath: prlctlPath,
|
PrlctlPath: prlctlPath,
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
package common
|
package common
|
||||||
|
|
||||||
// Parallels10Driver are inherited from Parallels9Driver.
|
// Parallels10Driver are inherited from Parallels9Driver.
|
||||||
|
// Used for Parallels v 10 & 11
|
||||||
type Parallels10Driver struct {
|
type Parallels10Driver struct {
|
||||||
Parallels9Driver
|
Parallels9Driver
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue