Skip to main content
Version: 1.3

images(CLI)

[Option A] upload image over SCP or winscp

scp Ubuntu-18.04-amd64.vmdk root@IPADDRESS:/var/support/.

Import image with cli

Connect to cli with terminal or putty

$ ssh admin@IPADDRESS
Warning: Permanently added '192.168.X.X' (ECDSA) to the list of known hosts.
Password:
Welcome to the Cube Appliance
Enter "help" for a list of available commands
controller>

Import image with local storage

controller> image
controller:image> import
1: usb
2: local
Enter index: 2
1: Ubuntu-18.04-amd64.vmdk
Enter index: 1
Specify image name: Ubuntu-18.04
Importing...
+------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| Field | Value |
+------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| checksum | ba3cd24377dde5dfdd58728894004abb |
| container_format | bare |
| created_at | 2020-07-06T06:26:18Z |
| disk_format | raw |
| file | /v2/images/5d1be52e-af28-472d-80c7-aa1f1cbc62fa/file |
| id | 5d1be52e-af28-472d-80c7-aa1f1cbc62fa |
| min_disk | 0 |
| min_ram | 0 |
| name | Ubuntu-18.04 |
| owner | adc0314ae730400fbdb4e1663bb54875 |
| properties | direct_url='rbd://c6e64c49-09cf-463b-9d1c-b6645b4b3b85/glance-images/5d1be52e-af28-472d-80c7-aa1f1cbc62fa/snap', hw_disk_bus='scsi', hw_qemu_guest_agent='yes', hw_scsi_model='virtio-scsi', locations='[{u'url': u'rbd://c6e64c49-09cf-463b-9d1c-b6645b4b3b85/glance-images/5d1be52e-af28-472d-80c7-aa1f1cbc62fa/snap', u'metadata': {}}]', os_require_quiesce='yes' |
| protected | False |
| schema | /v2/schemas/image |
| size | 46137344 |
| status | active |
| tags | |
| updated_at | 2020-07-06T06:26:21Z |
| virtual_size | None |
| visibility | public |
+------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
Importing cirross complete. It is safe to remove the local image file.

[Option B] upload image over usb drive

  • Plugin your usb drive to the controller

Import image with cli

Connect to cli with terminal or putty

$ ssh admin@IPADDRESS
Warning: Permanently added '192.168.X.X' (ECDSA) to the list of known hosts.
Password:
Welcome to the Cube Appliance
Enter "help" for a list of available commands
controller>

Import image with usb

controller> image
controller:image> import
1: usb
2: local
Enter index: 1
1: Ubuntu-18.04-amd64.vmdk
Enter index: 1
Specify image name: Ubuntu-18.04
Importing...
+------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| Field | Value |
+------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| checksum | ba3cd24377dde5dfdd58728894004abb |
| container_format | bare |
| created_at | 2020-07-06T06:26:18Z |
| disk_format | raw |
| file | /v2/images/5d1be52e-af28-472d-80c7-aa1f1cbc62fa/file |
| id | 5d1be52e-af28-472d-80c7-aa1f1cbc62fa |
| min_disk | 0 |
| min_ram | 0 |
| name | Ubuntu-18.04 |
| owner | adc0314ae730400fbdb4e1663bb54875 |
| properties | direct_url='rbd://c6e64c49-09cf-463b-9d1c-b6645b4b3b85/glance-images/5d1be52e-af28-472d-80c7-aa1f1cbc62fa/snap', hw_disk_bus='scsi', hw_qemu_guest_agent='yes', hw_scsi_model='virtio-scsi', locations='[{u'url': u'rbd://c6e64c49-09cf-463b-9d1c-b6645b4b3b85/glance-images/5d1be52e-af28-472d-80c7-aa1f1cbc62fa/snap', u'metadata': {}}]', os_require_quiesce='yes' |
| protected | False |
| schema | /v2/schemas/image |
| size | 46137344 |
| status | active |
| tags | |
| updated_at | 2020-07-06T06:26:21Z |
| virtual_size | None |
| visibility | public |
+------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
Importing cirross complete. It is safe to remove the local image file.

Migration from VMware/Virtualbox images

  • Note: for VMware/Virtualbox images please use ide_import intead of import for optimized configuration