Skip to content

Commit

Permalink
Fixed out of disk space documentation (#488)
Browse files Browse the repository at this point in the history
Workaround too many args for `rm`.
  • Loading branch information
freemanjp committed Oct 15, 2018
1 parent 3c8fa41 commit 6c98af4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docs/_docs/upgrade.md
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,8 @@ commands:

```bash
rm -rf /var/persistent/usr/local/src/ansible/data/*
rm -rf /var/persistent/var/cache/apt/archives/*
# Workaround for /bin/rm: cannot execute [Argument list too long]
for f in /var/persistent/var/cache/apt/archives/*.deb; do sudo rm -f "$f"; done
```

Now go back to the console where you run Vagrant and run the following to retry
Expand Down

0 comments on commit 6c98af4

Please sign in to comment.