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

Can't start VM from different folder #62

Open
network-shark opened this issue Jun 28, 2019 · 0 comments
Open

Can't start VM from different folder #62

network-shark opened this issue Jun 28, 2019 · 0 comments

Comments

@network-shark
Copy link

network-shark commented Jun 28, 2019

I have setup multiple VMs , but I'm only able to start them from the VM folder. I thought I can use the name parameter to start the vm from everywhere .

Error:

+ OSX  sharkys-mbp  sharky  ~/VMs/freebsd12-zfs  ansible                                                                                                                                                                                           + 3260
+╰─ mech --debug  up name=macos10.14
+DEBUG: Attempting to acquire lock 4449858728 on /Users/sharky/.mech/data/index.lock
+INFO: Lock 4449858728 acquired on /Users/sharky/.mech/data/index.lock
+DEBUG: Attempting to release lock 4449858728 on /Users/sharky/.mech/data/index.lock
+INFO: Lock 4449858728 released on /Users/sharky/.mech/data/index.lock
-Cannot find a valid path for 'name=macos10.14' instance

Indexfile:

 OSX  sharkys-mbp  sharky  ~/VMs/freebsd12-zfs  ansible                                                                                                                                                                                            3261
╰─ cat /Users/sharky/.mech/data/index
{
  "freebsd12-generic": {
    "path": "/Users/sharky/VMs/freebsd12-generic"
  },
  "freebsd12-zfs": {
    "path": "/Users/sharky/VMs/freebsd12-zfs"
  },
  "macos10.13": {
    "path": "/Users/sharky/VMs/macos10.13"
  },
  "macos10.14": {
    "path": "/Users/sharky/VMs/macos10.14"
  }
}%
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant