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 may help fix clock skew on Vagrant (currently a problem on Mac
machines?)
This PR also adds some instructions for cleaning up an old vagrant
installation that has the now-unnecessary Guest Additions.
Copy file name to clipboardExpand all lines: _docs/developer/troubleshooting/installation_troubleshooting.md
+48-1
Original file line number
Diff line number
Diff line change
@@ -56,6 +56,7 @@ with no explanation, then there are a couple of things that may be going wrong:
56
56
brew reinstall --cask vagrant
57
57
vagrant plugin update
58
58
vagrant box update
59
+
vagrant plugin install vagrant-timezone
59
60
```
60
61
61
62
If you continue to have errors on Mac with `vagrant up` after
@@ -98,11 +99,25 @@ with no explanation, then there are a couple of things that may be going wrong:
98
99
directories/repositories to clean up unwanted VMs.
99
100
100
101
The following command can help locate misplaced repositories/VMs:
101
-
102
102
```
103
103
vagrant global-status
104
104
```
105
105
106
+
If you see unnecessary VMs, you can clean them up with (replace
107
+
`1a2b3c4d` with the id of the VM you wish to destroy):
108
+
```
109
+
vagrant destroy 1a2b3c4d
110
+
```
111
+
112
+
If the command above does not successfully destroy and remove the VM from the
113
+
global-status list, you may see an error similar to: `The machine
114
+
with the name 'ubuntu-20.04' was not found configured for this
115
+
Vagrant environment.` You can try to clean up these undestroyed VMs record by
116
+
running:
117
+
```
118
+
vagrant global-status --prune
119
+
```
120
+
106
121
* If you might have old, forgotten VMs from previous OS versions
107
122
hanging around it can be helpful to completely delete the `.vagrant`
108
123
folder in your repository. Also check to see if you have multiple
@@ -169,3 +184,35 @@ broadcast 192.168.56.255
169
184
```
170
185
171
186
References and useful links: [https://gist.github.com/pjdietz/5768124](https://gist.github.com/pjdietz/5768124) and [http://christophermaier.name/2010/09/01/host-only-networking-with-virtualbox/](http://christophermaier.name/2010/09/01/host-only-networking-with-virtualbox/)
187
+
188
+
189
+
## Guest Additions
190
+
191
+
192
+
Submitty vagrant no longer uses Virtual Box Guest Additions. If you
193
+
see errors about version mismatch with Guest Additions, and if the VM
194
+
hangs trying to update the version of Guest Additions to match the
195
+
host version of Guest Additions, you may have old versions of the
196
+
development process on your machine and may need to more completely
197
+
uninstall and reinstall Virtual Box and Vagrant to reset your system.
198
+
199
+
**NOTE: THESE ACTIONS WILL DELETE ALL VMS ON YOUR SYSTEM.**
200
+
201
+
Some things to check:
202
+
203
+
* From your main Submitty repository, e.g. `<SOMETHING>/GIT_CHECKOUT/Submitty/`
204
+
run `rm -rf .vagrant`
205
+
206
+
(you may need to put sudo in front)
207
+
208
+
* Check all files on your filesystem for vagrant. Run 'locate
209
+
vagrant' and remove any old library / installation files you see.
0 commit comments