How To Install openstack-tempest-ci-live-booter on Kali Linux

In this tutorial we learn how to install openstack-tempest-ci-live-booter on Kali Linux. openstack-tempest-ci-live-booter is configures a server to boot a custom live image to test OpenStack

Introduction

In this tutorial we learn how to install openstack-tempest-ci-live-booter on Kali Linux.

What is openstack-tempest-ci-live-booter

openstack-tempest-ci-live-booter is:

The best environment to run OpenStack in order to test it, is a Debian Live system, booted over PXE, which we just “reinstall” by performing an (IPMI) reboot of the server. However, such setup is complicated, and error-prone. This is why this package was designed for: configuring a computer to act as PXE/DHCP/apache to boot that 2nd server.

This package configures the different tools (ie: isc-dhcp-server, tftpd-hpa, apache and son on) with a script. Its intention is not to be clean, but to just do the job of configuring for testing OpenStack. It is not to be used in production.

This package also contains the necessary scripts to create the Debian Live image using live-build, and the qemu-kvm setup to start a virtual machine that will PXE boot using that live image, so it is easy to test the setup without actual real hardware.

There are three methods to install openstack-tempest-ci-live-booter on Kali Linux. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install openstack-tempest-ci-live-booter Using apt-get

Update apt database with apt-get using the following command.

sudo apt-get update

After updating apt database, We can install openstack-tempest-ci-live-booter using apt-get by running the following command:

sudo apt-get -y install openstack-tempest-ci-live-booter

Install openstack-tempest-ci-live-booter Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install openstack-tempest-ci-live-booter using apt by running the following command:

sudo apt -y install openstack-tempest-ci-live-booter

Install openstack-tempest-ci-live-booter Using aptitude

If you want to follow this method, you might need to install aptitude on Kali Linux first since aptitude is usually not installed by default on Kali Linux. Update apt database with aptitude using the following command.

sudo aptitude update

After updating apt database, We can install openstack-tempest-ci-live-booter using aptitude by running the following command:

sudo aptitude -y install openstack-tempest-ci-live-booter

How To Uninstall openstack-tempest-ci-live-booter on Kali Linux

To uninstall only the openstack-tempest-ci-live-booter package we can use the following command:

sudo apt-get remove openstack-tempest-ci-live-booter

Uninstall openstack-tempest-ci-live-booter And Its Dependencies

To uninstall openstack-tempest-ci-live-booter and its dependencies that are no longer needed by Kali Linux, we can use the command below:

sudo apt-get -y autoremove openstack-tempest-ci-live-booter

Remove openstack-tempest-ci-live-booter Configurations and Data

To remove openstack-tempest-ci-live-booter configuration and data from Kali Linux we can use the following command:

sudo apt-get -y purge openstack-tempest-ci-live-booter

Remove openstack-tempest-ci-live-booter configuration, data, and all of its dependencies

We can use the following command to remove openstack-tempest-ci-live-booter configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge openstack-tempest-ci-live-booter

Dependencies

openstack-tempest-ci-live-booter have the following dependencies:

References

Summary

In this tutorial we learn how to install openstack-tempest-ci-live-booter package on Kali Linux using different package management tools: apt, apt-get and aptitude.