linux · openstack

openstack: modifying an image where you lost access

0 – Install python-openstaclient and unlock the access to the openstack where your VM is located. 1 – Download the image you want to modify 2 – Install Qemu utils 3 – Export the image to nbd. The first command loads the nbd kernel module. The “max_part=N” option specifies the maximum number of partitions we… Continue reading openstack: modifying an image where you lost access

linux · openstack

openstack: deleting several VMs automatically

Instead of deleting several VMs using Openstack UI you can execute it by the command line, making the process semi-automated. The first step is to install the openstack command on your Linux distribution. You can learn more about it here. Once the setup is done, you can use the following command to filter and deleted… Continue reading openstack: deleting several VMs automatically