You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This will create or update a configuration file stored at `.vagrant/workers.json`.
27
-
Now you can create the virtual machines with:
20
+
21
+
2. Ensure you have [Python 3](https://www.python.org/downloads/) installed on your machine.
22
+
`python3 --version`
23
+
24
+
3. Generate configuration for the worker machine(s).
28
25
```
29
-
vagrant up
26
+
vagrant workers generate
30
27
```
28
+
For multiple workers, use the `-n` flag. (ex. `-n 3` for 3 machines).
31
29
32
-
If you happen to encounter error messages regarding IP addresses or port conflicts, you can manually edit the `workers.json` file as needed.
33
-
34
-
__NOTE__: Do not edit the `workers.json` configuration file or run the aforementioned python script if there are any existing vagrant machines in your project. This can result in the existing VMs continuing to run in the background or storing their data with no clean way to remove them.
30
+
If using a provider other than the default for your system, use the `--provider` flag.
31
+
(ex. `--provider parallels`)
35
32
36
-
4.To delete the worker machines and revert to a normal development setup, you can first run
33
+
4.If you are on MacOS running QEMU, make sure to restart the network socket.
37
34
```
38
-
vagrant destroy
35
+
vagrant workers socket restart
39
36
```
40
-
And confirm to delete all the existing virtual machines.
37
+
If the VM runs into errors when attempting to reach the internet, try starting the socket
38
+
in public mode. (`--public`)
41
39
42
-
Next, you can delete the `workers.json` file, which will remove the worker configuration from your project.
43
-
The next `vagrant up` should only create the primary development virtual machine without any workers.
40
+
5. Now you can provision the virtual machines with:
0 commit comments