Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Openstack Learning-logging in to Openstack CLI

2025-01-18 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/02 Report--

openstack cli basic command

After completing the previous openstack tranning lab setup, you can log in to the controller node from the host by commanding.

ssh -p 2230 osbash@127.0.0.1

Password default is osbash

After logging in, view admin user's environment variable definition file admin-openrc.sh and import it into administrator view

cat admin-openrc.sh

. admin-openrc.sh

You can then execute the following command to see how the openstack server command is used

openstack server --help

The specific usage of each subcommand can be viewed as follows

openstack server create --help

create a virtual machine instance

Having created the specification "Flavor_web", create a VM instance named cirros_cli by mirroring "cirros"

openstack server create --flavor Flavor_web --imge cirros cirros_cli

Once created, view the list of virtual machine instances

openstack server list

You can see that the VM instance has been created

You can then command-view the details of the VM instance

openstack server show cirros_cli

You can see some details.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report