From 2ed54ff4ee642dc92ef4f5af1994b065d6f1da5b Mon Sep 17 00:00:00 2001 From: Jerome Petazzoni Date: Tue, 23 Jun 2015 21:50:05 -0700 Subject: [PATCH] Switch easily between 1 VM/user and 5 VMs/user --- prepare-vms/ips-txt-to-html.py | 39 +++++++++++++++++++++++----------- 1 file changed, 27 insertions(+), 12 deletions(-) diff --git a/prepare-vms/ips-txt-to-html.py b/prepare-vms/ips-txt-to-html.py index 340dd298..67018193 100755 --- a/prepare-vms/ips-txt-to-html.py +++ b/prepare-vms/ips-txt-to-html.py @@ -1,8 +1,29 @@ #!/usr/bin/env python -clustersize = 5 +SETTINGS_BASIC = dict( + clustersize=1, + pagesize=12, + blurb="

Here is the connection information to your very own " + "VM for this intro to Docker workshop. You can connect " + "to the VM using your SSH client.

\n" + "

Your VM is reachable on the following address:

\n", + prettify=lambda x: x, + ) -pagesize = 12 +SETTINGS_ADVANCED = dict( + clustersize=5, + pagesize=12, + blurb="

Here is the connection information to your very own " + "cluster for this orchestration workshop. You can connect " + "to each VM with your SSH client.

\n" + "

Your machines are: