Deleting an ISO Image File
This operation enables you to delete an ISO image file of a VM.
Prerequisites
At least one VM exists in the storage system.
Do not delete an ISO file using the SFTP tool. Otherwise, the ISO file of the VM cannot be used normally. If an ISO file is required, transfer it to the storage system. If no ISO file is required, delete the ISO file from the VM.
Procedure
- Go to the CLI.
- On the CLI, run delete vm_iso general vm_fs_id=? iso_name=?. Table 5-39 describes the related parameters.Table 5-39 Parameters for deleting an ISO image file
Parameter
Description
Value
vm_fs_id=?
ID of the VM file system
To obtain the value, run the show vm_fs general command without parameters.
iso_name=?
Name of the file to be deleted
To obtain the value, run the show vm_iso general command without parameters.
- Confirm that all required parameters are correctly configured.
Example
Delete the ISO file win7.iso in file system 1.
admin:/>delete vm_iso general vm_fs_id=1 iso_name=win7.iso
WARNING: You are about to delete a file. The deleted file cannot be recovered.
Suggestion: Before performing this operation, ensure that the target file is the one you want to delete.
Have you read warning message carefully?(y/n)y
Are you sure you really want to perform the operation?(y/n)y
Command executed successfully.