画像のインポート(CLI)
情報
USBストレージデバイスは、デフォルトでブロックされています。 USBデバイスへのアクセスが必要な場合は、管理者としてログインした後、CLI > tuning > configure を使用して、チューニングオプション cubesys.probeusb を true に設定してください。
画像をダウンロード
当社のウェブサイトからクラウド画像を簡単にダウンロードできます。ダウンロードページへ
SCPまたはWinSCP経由で画像をアップロード
scp Ubuntu-22.04-amd64.vmdk root@IPADDRESS:/mnt/cephfs/glance/.
CLIを使用して画像をインポート
ターミナルまたはPuTTYを使用してCLIに接続する
$ 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>
画像を画像としてインポート
controller> image
controller:image> import
1: usb
2: local
Enter index: 2
1: ubuntu2204.qcow2
Enter index: 1
Specify image name: ubuntu2204
Select domain:
1: default
Enter index: 1
Select tenant:
1: admin
Enter index: 1
Visibility:
1: public
2: private
Enter index: 1
Bootable image or volume:
1: glance-images
2: cinder-volumes
Enter index: 1
Importing...
[10:58:57] Converting image to RAW format ...
(100.00/100%)
[10:59:00] Calculating RAW image checksum ... 5d971e656e3fdac6b27650c13c953d14 (MD5)
[10:59:21] Creating image ubuntu2204 ...
[11:00:25] Validating checksum: OK
Importing ubuntu2204 complete. It is safe to remove the local image file
(新機能) 画像をボリュームとしてインポート
特定のプロジェクトのボリュームとしてインポートする場合は、cinder-volumes を選択してください。
Bootable image or volume:
1: glance-images
2: cinder-volumes
Enter index: 2
VMware/Hyper-V イメージからの移行
VMware/Hyper-V イメージについては、設定を最適化するため、import コマンドの代わりに CLI コマンド import_efi を使用してください。 詳細はこちら こちら。