File tree Expand file tree Collapse file tree 1 file changed +24
-0
lines changed Expand file tree Collapse file tree 1 file changed +24
-0
lines changed Original file line number Diff line number Diff line change
1
+ # openstack flavor
2
+
3
+ > Manage OpenStack instance flavors (virtual hardware templates).
4
+ > More information: < https://docs.openstack.org/python-openstackclient/latest/cli/command-objects/flavor.html > .
5
+
6
+ - List all flavors:
7
+
8
+ ` openstack flavor list `
9
+
10
+ - Show details of a flavor:
11
+
12
+ ` openstack flavor show {{flavor_id_or_name}} `
13
+
14
+ - Create a new flavor with 2 vCPUs, 4GB RAM, and 20GB disk:
15
+
16
+ ` openstack flavor create {{flavor_name}} --vcpus 2 --ram 4096 --disk 20 `
17
+
18
+ - Delete a flavor:
19
+
20
+ ` openstack flavor delete {{flavor_id_or_name}} `
21
+
22
+ - Create a flavor with 10GB ephemeral disk and 512MB swap space:
23
+
24
+ ` openstack flavor create {{flavor_name}} --vcpus 4 --ram 8192 --disk 40 --ephemeral 10 --swap 512 `
You can’t perform that action at this time.
0 commit comments