ubuntu clould image - Murray-LIANG/forgetful GitHub Wiki

Ubuntu Cloud Image Installation

Download

https://cloud-images.ubuntu.com/

Upload image to Glance

Boot an instance from image

NOTE: don't forget to use the ssh key.

Initial configuration

SSH to the instance

$ ssh -i ~/.ssh/id_rsa.kolla-ansible.liangr [email protected]

Create the user stack

$ sudo useradd -m -s /bin/bash -G sudo stack

$ sudo passwd stack

Modify /etc/ssh/sshd_config to allow login via password

Entry name is PasswordAuthentication.