从image boot,并且attach一个no-bootable volume:

$ nova boot --flavor 2 --image 98901246-af91-43d8-b5e6-a4506aa8f369 \
  --block-device source=volume,id=d620d971-b160-4c4e-8652-2513d74e2080,dest=volume,shutdown=preserve \
  myInstanceWithVolume

从image创建bootable volume,并从volume启动:

$ nova boot --flavor 2 \
  --block-device source=image,id=484e05af-a14d-4567-812b-28122d1c2260,dest=volume,size=10,shutdown=preserve,bootindex=0 \
  myInstanceFromVolume

http://docs.openstack.org/user-guide/cli_nova_launch_instance_from_volume.html

 在cinder,从image创建bootable volume:

cinder create --image-id 66a81a2c-617f-40ee-b1cb-4a3bd4a82c6e --display-name my-bootable-vol 1

相关文章:

  • 2021-09-16
  • 2022-02-11
  • 2021-09-17
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-05-29
  • 2022-12-23
猜你喜欢
  • 2021-08-28
  • 2022-01-10
  • 2022-12-23
  • 2021-07-20
  • 2022-12-23
  • 2021-10-08
  • 2022-01-13
相关资源
相似解决方案