Statement
This document is only for learning and exchange, please do not use for other commercial purposes
Author: Chaoyang _tony
E-mail:linzhaolover@163.com
Create date:2017 Year August 16 16:08:51
Last change:2017 year August 16 16:08:58
Reprint please indicate the source: Http://blog.csdn.net/linzhaolover Summary
I believe a lot of people in the Ubuntu website to download the production of good image, but found that the server version, there is no desktop version, so there is a need to desktop features of the friend, you need to install, the following I will briefly introduce my implementation method download Image
wget http://cloud-images.ubuntu.com/releases/16.04/release/ubuntu-16.04-server-cloudimg-amd64-disk1.img
CP Ubuntu-16.04-server-cloudimg-amd64-disk1.img Ubuntu-16.04-server-cloudimg-amd64-disk1.qcow2
Import to OpenStack glance
Please note that the display properties in glance image are deliberately set to VGA
–property HW_VIDEO_MODEL=VGA
Imagename=ubuntu-16.04-server-cloudimg-ppc64el-disk1 glance image-create--name=${imagename} \ --is-public=true \--property architecture=x86_64 \--property Accel Erator_type=none \--property hw_disk_bus=virtio \--property hw_vid EO_MODEL=VGA \--property HYPERVISOR_TYPE=KVM \--property Os_type = "Linux-ubuntu" \--property os_name= "Ubuntu 16.04" \--property o
s_version= "version 16.04 lts-xenial Xerus" \--property os_override= "" \ --container-format=bare \--property image_type=image \--pro Perty sys_type=ubuntu \--property webshell=true \--disk-format=qco
W2 \ --file ${srcdir}/${imagename}.qcow2
Create KVM
Note that the default download from the Ubuntu website image, the default account for Ubuntu, and can only use Sshkey login, so when creating, please specify
Ssh-i id_rsa.pub ubuntu@xxx.xxx.xxx.xxx
Install Ubuntu Desktop
Apt Install update
apt install ubuntu-desktop
reboot KVM
Can be directly reboot, but more recommended you use Nova stop, Nova Start command operation
Reboot
Summary
Keep track of your work, share your knowledge, and progress together .