spelling: first
This commit is contained in:
parent
466f0d2be4
commit
dc942a0d8a
|
@ -43,7 +43,7 @@ func (d *Parallels9Driver) Import(name, srcPath, dstDir string, reassignMAC bool
|
||||||
|
|
||||||
srcMAC := "auto"
|
srcMAC := "auto"
|
||||||
if !reassignMAC {
|
if !reassignMAC {
|
||||||
srcMAC, err = getFirtsMACAddress(srcPath)
|
srcMAC, err = getFirstMACAddress(srcPath)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
@ -70,7 +70,7 @@ func getVMID(path string) (string, error) {
|
||||||
return getConfigValueFromXpath(path, "/ParallelsVirtualMachine/Identification/VmUuid")
|
return getConfigValueFromXpath(path, "/ParallelsVirtualMachine/Identification/VmUuid")
|
||||||
}
|
}
|
||||||
|
|
||||||
func getFirtsMACAddress(path string) (string, error) {
|
func getFirstMACAddress(path string) (string, error) {
|
||||||
return getConfigValueFromXpath(path, "/ParallelsVirtualMachine/Hardware/NetworkAdapter[@id='0']/MAC")
|
return getConfigValueFromXpath(path, "/ParallelsVirtualMachine/Hardware/NetworkAdapter[@id='0']/MAC")
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue