If the user interactively enters a number of replicas that differs from the
default, regenerate the list of ports and directories.