1
0
mirror of https://github.com/rancher/quickstart.git synced 2026-02-06 06:45:11 +01:00
Files
quickstart/cloud-common/files/userdata_quickstart_node.template
Nick Jones 38a60053f1 Set DEBIAN_FRONTEND envvar to noninteractive
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>
2020-06-29 15:45:20 +01:00

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