No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search

Reminder

To have a better experience, please upgrade your IE browser.

upgrade

OceanStor 9000 V5 7.0 Command Reference 04

Rate and give feedback:
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
add virtual_machine vm_iso

add virtual_machine vm_iso

Function

The add virtual_machine vm_iso command is used to add a Guest OS CD-ROM ISO file to a VM.

Format

add virtual_machine vm_iso <vm_id> <iso_name>

Parameters

Parameter

Description

Value

vm_id VM ID.

Press Ctrl+A to obtain this parameter.

iso_name ISO file name.

The value can contain 5 to 63 characters, including letters, digits, hyphens (-), underscores (_), and periods (.), with iso as the file name extension. Midline (-) and dots (.) cannot be used as the first character, and two dots (.) cannot be used together.

Level

Super administrator

Usage Guidelines

Adding Guest OS ISO file to the VM takes three to five minutes, resulting in occasional command timeout. Run the "show virtual_machine general" command to check whether the operation is completed (The operation is completed when the running status is not "COPYING").

Example

Add an ISO file to the VM.

admin:/>add virtual_machine vm_iso 661716993 CentOS-7.0-1406-x86_64-DVD.iso
DANGER: You are about to add an ISO file to a virtual machine! The whole process will take 3-5 minutes, please execute command "show virtual_machine general" to confirm the status "COPYING" is finish or not. And please confirm that if the virtual machine already has an ISO file, you really want to replace that file! Please confirm!
Have you read danger alert message carefully?(y/n)y
Are you sure you want to perform the operation?(y/n)y
Command executed successfully.

System Response

None

Download
Updated: 2019-07-25

Document ID: EDOC1100067955

Views: 27509

Downloads: 7

Average rating:
This Document Applies to these Products
Related Documents
Related Version
Share
Previous Next