You can use the following options to start the ipython laptop without the ipython_notebook_config.py file:
IPYTHON_OPTS="notebook --port 8889 --ip='*' --no-browser" pyspark
or for HortonWorks HDP
IPYTHON_OPTS="notebook --port 8889 --notebook-dir=u'/usr/hdp/2.3.0.0-2557/spark/' --ip='*' --no-browser" pyspark
source share