Closed starbops closed 1 year ago
Adding an effective UID check to make sure the script is run with the root privilege. Additionally, some essential environment variables are not inherited when calling the script with sudo; we have to inject them manually into the script.
Related issue: harvester/harvester#2132
Adding an effective UID check to make sure the script is run with the root privilege. Additionally, some essential environment variables are not inherited when calling the script with sudo; we have to inject them manually into the script.
Related issue: harvester/harvester#2132