Closed LalatenduMohanty closed 6 years ago
This is not an issue that needs to be resolved in the ISO. The information about the routing prefix is only known in minishift, and should be provisioned during the start.
This is something we need to add back
mkdir -p /mnt/$PARTNAME/var/lib/boot2docker/etc/docker
mkdir -p /etc/docker
mount --bind /mnt/$PARTNAME/var/lib/boot2docker/etc/docker /etc/docker
We had removed it as part of #226 https://github.com/minishift/minishift-centos-iso/commit/fbe8593be1e5525a323af4396162324f860cba89#diff-b58989df8ca966e0064a92395063f7e7
The issue was Docker version has been updated to 1.13.1 in RHEL which is the cause of failure for RHEL ISO. This is happening because of updated version of RHEL/CentOS tree now also require /etc/docker/seccomp.json and since we are removing this directory and again put to bind mount this file is not present.
The steps would have been to
- bind mount
Then copy back the seccomp.json.
This is something we need to add back
@praveenkumar I am not so sure we need to. The state is restored on restart anyway...
After a
minishift start;minishift stop; minishift start
the directory to keep docker certs does not persist i.e./etc/docker
. Hence we are seeing https://github.com/minishift/minishift/issues/2545It was working in CentOS ISO version 1.5.0 [1] but we changed it later.
As of now with Minishift 1.20.0 version we see below
But expected is as below.
inishift-centos-iso/blob/v1.5.0/scripts/handle-user-data#L49-L51