Skip to content
Terraform configuration to quickly set up SUSE Manager/Uyuni environments
HCL SaltStack Python Shell XSLT HTML Other
Branch: master
Clone or download
mbologna and moio Feat: change create_first_user exit condition
With the new login developed in:


the page content for the login page will be rendered using JavaScript.

This means that `http.wait_for_successful_query` will never read its
exit condition, specified under `match` (because it will be rendered via

This PR changes exit condition by testing the HTTP status code received
from the server after the POST request to create the first user.

A more robust change would be:

-    - match: Discover a new way of managing your servers
+    - match: <script src="/javascript/manager/login/login.renderer.bundle.js

but it would obviously be non-compatible with older versions of the
Latest commit ba1feae Aug 21, 2019

sumaform logo

sumaform is a way to quickly configure test SUSE Manager setups with clients and servers.

It got its portmanteau name being the successor of suminator implemented as Terraform modules.

Travis CI build status Join the chat at


openSUSE and SUSE Linux Enterprise Server:

# Uncomment one of the following lines depending on your distro

#sudo zypper addrepo
#sudo zypper addrepo
#sudo zypper addrepo

sudo zypper install terraform-provider-libvirt git-core
git clone

Ubuntu and Debian:

sudo apt install alien
sudo alien -i terraform.rpm
sudo alien -i terraform-provider-libvirt.rpm
git clone

NOTE: be sure to have SUSE's CA certificates installed on your system.

You will need to edit HCL (HashiCorp Configuration Language) files. Syntax highlighting is available in major text editors like atom.

Backend choice

sumaform can deploy virtual machines to:

  • single libvirt hosts
  • OpenStack Cloud
  • Amazon Web Services

The simplest, recommended setup is to use libvirt on your local host. That needs at least 8 GB of RAM in your machine. If you need a lot of VMs or lack hardware you probably want using an external libvirt host with bridged networking is also possible.

The Amazon Web Services backend has been developed for scalability tests of SUSE Manager and it is only currently used in that context.

Basic configuration

In sumaform you define a set of virtual machines in a configuration file, then run Terraform to have them deployed. Contents of the file vary slightly depending on the backend you choose.

Refer to specific READMEs to get started:

Typical use

Refer to the official guides for a general understanding of Terraform and full commands.

For a very quick start:

vim     # change your VM setup
terraform init  # populate modules
terraform apply # prepare and apply a plan to create your systems (after manual confirmation)

Advanced use

Please see

I have a problem!

Check first, if that does not help feel free to join the Gitter chat or directly drop a line to moio at suse dot de!

You can’t perform that action at this time.