Merge pull request #504 from carsonoid/patch-3

Use xargs when removing mounts
This commit is contained in:
Phillip Wittrock 2016-07-15 08:08:03 -07:00 committed by GitHub
commit 5681a0115d
1 changed files with 1 additions and 1 deletions

View File

@ -180,7 +180,7 @@ docker-machine ssh `docker-machine active`
```
```shell
sudo umount `cat /proc/mounts | grep /var/lib/kubelet | awk '{print $2}'`
grep /var/lib/kubelet /proc/mounts | awk '{print $2}' | sudo xargs -n1 umount
sudo rm -rf /var/lib/kubelet
```