ipmcset -t vmm -d connect
更新时间: 2026/07/28
在Gitcode上查看源码命令功能
挂载文件到虚拟光驱
命令格式
ipmcset -t vmm -d connect -v <URL> [-s <systemid>]
命令类型
ipmcset
参数说明
| Name | Type | Required | Default | Constraint | Description |
|---|---|---|---|---|---|
SystemId | - | 否 | - | - | - |
URL | string | 是 | - | Regex | e.g.: protocol://[username:password@]IP[:port]/directory/filename The parameters in the URL are described as follows: The protocol must be nfs, cifs, or https. The URL can contain only letters, digits, and special characters. The directory or file name cannot contain @. The password cannot contain commas (,). Use double quotation marks (") to enclose the URL that contains a space or double quotation marks ("). Escape the double quotation marks (") and back slash () contained in the URL. For example, if you want to enter: a b\cd" Enter: "a b\cd"" |
Regex正则表达式
URL
^(https|nfs|cifs).*输出样例
Connect virtual media...
Connect virtual media successfully.