Commit bffa7193 authored by Mike Hibler's avatar Mike Hibler

For the main emulab site (aka us), add a pointer to the quota KB entry.

parent dc9ca273
#!/bin/sh #!/bin/sh
# #
# Copyright (c) 2003-2006 University of Utah and the Flux Group. # Copyright (c) 2003-2014 University of Utah and the Flux Group.
# #
# {{{EMULAB-LICENSE # {{{EMULAB-LICENSE
# #
...@@ -46,6 +46,12 @@ else ...@@ -46,6 +46,12 @@ else
SCRATCHSTR="" SCRATCHSTR=""
fi fi
MAINSITE=@TBMAINSITE@
if [ $MAINSITE -ne 0 ]; then
QUOTAHELP="See https://wiki.emulab.net/wikidocs/wiki/kb81 for more info on quotas."
else
QUOTAHELP=""
fi
for i in `/usr/sbin/repquota -v @FS_WITH_QUOTAS@ | awk '$2 ~ /\+/ {print $1}'` for i in `/usr/sbin/repquota -v @FS_WITH_QUOTAS@ | awk '$2 ~ /\+/ {print $1}'`
do do
...@@ -81,6 +87,8 @@ PLEASE NOTE: just login to @USERNODE@ directly to do the cleanup! ...@@ -81,6 +87,8 @@ PLEASE NOTE: just login to @USERNODE@ directly to do the cleanup!
You will not be able to swapin an experiment to access these directories You will not be able to swapin an experiment to access these directories
while over quota. while over quota.
$QUOTAHELP
Thanks, Thanks,
@THISHOMEBASE@ Testbed Operations @THISHOMEBASE@ Testbed Operations
@TBOPSEMAIL_NOSLASH@ @TBOPSEMAIL_NOSLASH@
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment