Skip to content
Snippets Groups Projects
Commit ff573c35 authored by Eesaan Atluri's avatar Eesaan Atluri
Browse files

Install prerequisite packages

parent a1067bbc
No related branches found
No related tags found
No related merge requests found
...@@ -36,6 +36,14 @@ source "openstack" "image" { ...@@ -36,6 +36,14 @@ source "openstack" "image" {
build { build {
sources = ["source.openstack.image"] sources = ["source.openstack.image"]
provisioner "shell" {
inline = [
"sudo yum install -y libselinux-python3 python3 python3-pip tmux vim git bash-completion curl wget unzip",
"sudo python3 -m pip install --upgrade pip",
"sudo pip3 install s3cmd==2.3.0 ansible==4.10.0 python-openstackclient==5.8.0"
]
}
provisioner "ansible" { provisioner "ansible" {
use_proxy = false use_proxy = false
user = var.ssh_username user = var.ssh_username
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment