remove systemvm-premium.iso

This commit is contained in:
anthony 2011-02-03 15:32:50 -08:00
parent 67633ba197
commit c26833fb8a
2 changed files with 3 additions and 1 deletions

View File

@ -866,7 +866,7 @@ public abstract class CitrixResourceBase implements ServerResource {
if( _host.systemvmisouuid == null ) {
for( VDI vdi : srr.VDIs ) {
VDI.Record vdir = vdi.getRecord(conn);
if(vdir.nameLabel.contains("systemvm")){
if(vdir.nameLabel.contains("systemvm.iso")){
_host.systemvmisouuid = vdir.uuid;
break;
}

View File

@ -29,5 +29,7 @@ echo 1048576 >/proc/sys/fs/aio-max-nr
# empty heartbeat
cat /dev/null > /opt/xensource/bin/heartbeat
rm -f /opt/xensource/packages/iso/systemvm-premium.iso
echo "success"