Sign in
apache
/
deltacloud
/
1d8b3912cef23c8e1409ffb2f1742a4a58fbbfed
/
.
/
server
/
support
/
condor
/
bash
/
cloud_exit_hook.sh
blob: 2f47ae0a7f915f7f59ceaea18121eb15f7f8c0c9 [
file
] [
log
] [
blame
]
#!/bin/sh
source
/
usr
/
libexec
/
condor
/
cloud_functions
while
read line
;
do
name
=
"${line%% =*}"
value
=
"${line#*= }"
case
$name
in
VM_XML
)
VM_XML
=
"$line"
;;
esac
done
DISK
=
$
(
echo $VM_XML
|
sed
"s:.*<source file='\([^']*\)'/>.*:\1:"
)
rm
-
f $DISK
exit
0