diff --git a/README.md b/README.md index e656bf45..28abd4e3 100644 --- a/README.md +++ b/README.md @@ -12,6 +12,7 @@ Preparation: - Make sure that you have SSH keys loaded (`ssh-add -l`). - Source `rc`. +- Run `pcopykey`. - Source `postprep.rc`. (This will install a few extra packages, add entries to /etc/hosts, generate SSH keys, and deploy them on all hosts.) diff --git a/prepare-vms/ips-txt-to-html.py b/prepare-vms/ips-txt-to-html.py index bca55bb9..340dd298 100755 --- a/prepare-vms/ips-txt-to-html.py +++ b/prepare-vms/ips-txt-to-html.py @@ -17,6 +17,9 @@ while ips: ips = ips[clustersize:] clusters.append(cluster) +def makenames(addrs): + return [ "node%d"%(i+1) for i in range(len(addrs)) ] + html = open("ips.html", "w") html.write("