Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
dkeightley authored and dkeightley committed Feb 6, 2025
1 parent 8d4dca5 commit 832d568
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions recipes/rke/split-roles/aws/user_data.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,6 @@ if [ ${install_docker} = true ]
export DEBIAN_FRONTEND=noninteractive
curl -sSL https://releases.rancher.com/install-docker/${docker_version}.sh | sh -
sudo usermod -aG docker ${username}
systemctl enable docker
systemctl start docker
fi
2 changes: 1 addition & 1 deletion recipes/upstream/aws/rke/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ module "rke" {

locals {
rancher_hostname = join(".", ["rancher", module.rke.instances_public_ip[0], "sslip.io"])
ssh_username = var.instance_ami != null ? var.ssh_username : var.os_type == "sles" ? "ec2-user" : "ubuntu"
ssh_username = var.instance_ami != null ? var.ssh_username : var.os_type == "sles" ? "ec2-user" : "ubuntu"
}

module "rancher_install" {
Expand Down

0 comments on commit 832d568

Please sign in to comment.