remove nfsroot for client
authorDobrica Pavlinusic <dpavlin@rot13.org>
Wed, 26 Aug 2009 09:15:23 +0000 (09:15 +0000)
committerDobrica Pavlinusic <dpavlin@rot13.org>
Wed, 26 Aug 2009 09:15:23 +0000 (09:15 +0000)
bin/nfsroot-rm.sh [new file with mode: 0755]

diff --git a/bin/nfsroot-rm.sh b/bin/nfsroot-rm.sh
new file mode 100755 (executable)
index 0000000..cbc4b54
--- /dev/null
@@ -0,0 +1,5 @@
+#!/bin/sh -x
+
+sudo umount -v -l /srv/pxelator/tftp/nfsroot/$1
+sudo rm -Rf tftp/nfsroot/$1 tftp/nfsroot/br/$1
+