configure static IP for CentOS, quicker startup of container.
fix problems with returncode