mirror of
https://github.com/rancher/quickstart.git
synced 2026-02-05 21:45:18 +01:00
Ensure that the installation on Debian derivatives (including Ubuntu) doesn't hang waiting for user input. This can occasionally happen when other packages are installed or upgraded as dependencies. Signed-off-by: Nick Jones <nick@dischord.org>
8 lines
221 B
Bash
8 lines
221 B
Bash
#!/bin/bash -x
|
|
|
|
export DEBIAN_FRONTEND=noninteractive
|
|
curl -sL https://releases.rancher.com/install-docker/${docker_version}.sh | sh
|
|
sudo usermod -aG docker ${username}
|
|
|
|
${register_command} --etcd --controlplane --worker
|