I want to specify an existing config file during ucp installation but cannot see from the documentation how to do this.
I’m following the “ucp-configuration-file” guide to generate the config file. In the guide, it states that I can “Install one swarm and use the UCP web UI to configure it as desired, extract the configuration file, edit it as needed, and use the edited config file to make copies to multiple other swarms.”
The documentation in the ucp/install guide describes “–existing-config” as “Use an existing UCP config during this installation. The install fails if a config is not found.”
Where is the (phase 2) installer looking for this configuration? I was hoping that the installer would at least give a hint. Nope. All it reports is “Could not find any UCP configs.”
- mounting the config to /etc/ucp/ucp.toml
- mounting the config to /config/ucp.toml (like the license file can be done)
- specifying --existing-config /path/to/ucp.toml
- catting the contents as --existing-config $(cat /path/to/ucp.toml)
What am I doing wrong?