Skip to main content
Version: 2.0

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@IPADDRESSWarning: Permanently added '192.168.X.X' (ECDSA) to the list of known hosts.Password:Welcome to the Cube ApplianceEnter "help" for a list of available commandscontroller>

Import image with local storage#

controller> imagecontroller:image> import1: usb2: localEnter index: 21: Ubuntu-18.04-amd64.vmdkEnter index: 1Specify image name: Ubuntu-18.04Importing...+------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+| 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@IPADDRESSWarning: Permanently added '192.168.X.X' (ECDSA) to the list of known hosts.Password:Welcome to the Cube ApplianceEnter "help" for a list of available commandscontroller>

Import image with usb#

controller> imagecontroller:image> import1: usb2: localEnter index: 11: Ubuntu-18.04-amd64.vmdkEnter index: 1Specify image name: Ubuntu-18.04Importing...+------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+| 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/Hyper-V images#

  • Note: for VMware/Hyper-V images please use ide_import intead of import for optimized configuration
Last updated on by Roy Tan