mirror of
https://github.com/rancher/os.git
synced 2025-08-31 14:23:11 +00:00
Add rancher user and lock root
This commit is contained in:
@@ -22,6 +22,7 @@ generate_images()
|
||||
if [ -e ${BUILD}/${IMAGE_ID} ]; then
|
||||
DOCKER_BASE=$(<${BUILD}/${IMAGE_ID})
|
||||
else
|
||||
echo Running: docker run -d --privileged ${DOCKER_IMAGE} /source/scripts/build-images
|
||||
CID=$(docker run -d --privileged ${DOCKER_IMAGE} /source/scripts/build-images)
|
||||
docker logs -f ${CID} &
|
||||
trap "docker rm -f ${CID}" exit
|
||||
|
Reference in New Issue
Block a user