Skip to content

Commit

Permalink
Merge pull request #98 from briandowns/issue-97
Browse files Browse the repository at this point in the history
use tee with sudo
  • Loading branch information
briandowns authored Jul 20, 2020
2 parents 2a5ac9c + 789f578 commit e2d3656
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -707,7 +707,7 @@ ExecStart=${BIN_DIR}/rke2 \\
${CMD_RKE2_EXEC}
EOF
echo "HOME=/root" > /etc/systemd/system/rke2.service.env
echo "HOME=/root" | ${SUDO} tee /etc/systemd/system/rke2.service.env
}

# create_openrc_service_file writes the openrc
Expand Down

0 comments on commit e2d3656

Please sign in to comment.