Skip to content

Instantly share code, notes, and snippets.

@tjjh89017
Last active June 30, 2016 14:31
Show Gist options
  • Save tjjh89017/67465ef8775ba0d7558b3b30736e0d01 to your computer and use it in GitHub Desktop.
Save tjjh89017/67465ef8775ba0d7558b3b30736e0d01 to your computer and use it in GitHub Desktop.
openstack image create "Ubuntu 16.04 arm64" \
--file xenial-server-cloudimg-arm64-uefi1.img \
--disk-format qcow2 \
--container-format bare \
--public \
--property hw_disk_bus='scsi' \
--property hw_scsi_model='virtio-scsi' \
--property hw_machine_type=virt \
--property hw_firmware_type='uefi' \
--property hw_video_model='vga'
openstack image create "Ubuntu Kernel 4.4.0" \
--file vmlinuz-4.4.0-28-generic-lpae \
--public \
--container-format aki \
--disk-format aki
openstack image create "Ubuntu Initrd 4.4.0" \
--file initrd.img-4.4.0-28-generic-lpae \
--public \
--container-format ari \
--disk-format ari
openstack image create "Ubuntu 16.04 arm" \
--file xenial-server-cloudimg-armhf-disk1.img \
--disk-format qcow2 \
--container-format ami \
--public \
--property hw_disk_bus='scsi' \
--property hw_scsi_model='virtio-scsi' \
--property hw_machine_type='vexpress-a15' \
--property os_command_line='root=/dev/sda1 rw rootwait console=ttyAMA0' \
--property hw_video_model='vga' \
--property kernel_id=$KERNEL_ID \
--property ramdisk_id=$INITRD_ID
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment