jupyter_notebook_config.py 22 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605
  1. # Configuration file for jupyter-notebook.
  2. #------------------------------------------------------------------------------
  3. # Application(SingletonConfigurable) configuration
  4. #------------------------------------------------------------------------------
  5. ## This is an application.
  6. ## The date format used by logging formatters for %(asctime)s
  7. #c.Application.log_datefmt = '%Y-%m-%d %H:%M:%S'
  8. ## The Logging format template
  9. #c.Application.log_format = '[%(name)s]%(highlevel)s %(message)s'
  10. ## Set the log level by value or name.
  11. #c.Application.log_level = 30
  12. #------------------------------------------------------------------------------
  13. # JupyterApp(Application) configuration
  14. #------------------------------------------------------------------------------
  15. ## Base class for Jupyter applications
  16. ## Answer yes to any prompts.
  17. #c.JupyterApp.answer_yes = False
  18. ## Full path of a config file.
  19. #c.JupyterApp.config_file = u''
  20. ## Specify a config file to load.
  21. #c.JupyterApp.config_file_name = u''
  22. ## Generate default config file.
  23. #c.JupyterApp.generate_config = False
  24. #------------------------------------------------------------------------------
  25. # NotebookApp(JupyterApp) configuration
  26. #------------------------------------------------------------------------------
  27. ## Set the Access-Control-Allow-Credentials: true header
  28. #c.NotebookApp.allow_credentials = False
  29. ## Set the Access-Control-Allow-Origin header
  30. #
  31. # Use '*' to allow any origin to access your server.
  32. #
  33. # Takes precedence over allow_origin_pat.
  34. #c.NotebookApp.allow_origin = ''
  35. ## Use a regular expression for the Access-Control-Allow-Origin header
  36. #
  37. # Requests from an origin matching the expression will get replies with:
  38. #
  39. # Access-Control-Allow-Origin: origin
  40. #
  41. # where `origin` is the origin of the request.
  42. #
  43. # Ignored if allow_origin is set.
  44. #c.NotebookApp.allow_origin_pat = ''
  45. ## Whether to allow the user to run the notebook as root.
  46. #c.NotebookApp.allow_root = False
  47. ## DEPRECATED use base_url
  48. #c.NotebookApp.base_project_url = '/'
  49. ## The base URL for the notebook server.
  50. #
  51. # Leading and trailing slashes can be omitted, and will automatically be added.
  52. #c.NotebookApp.base_url = '/'
  53. ## Specify what command to use to invoke a web browser when opening the notebook.
  54. # If not specified, the default browser will be determined by the `webbrowser`
  55. # standard library module, which allows setting of the BROWSER environment
  56. # variable to override it.
  57. #c.NotebookApp.browser = u''
  58. ## The full path to an SSL/TLS certificate file.
  59. #c.NotebookApp.certfile = u''
  60. ## The full path to a certificate authority certificate for SSL/TLS client
  61. # authentication.
  62. #c.NotebookApp.client_ca = u''
  63. ## The config manager class to use
  64. #c.NotebookApp.config_manager_class = 'notebook.services.config.manager.ConfigManager'
  65. ## The notebook manager class to use.
  66. #c.NotebookApp.contents_manager_class = 'notebook.services.contents.largefilemanager.LargeFileManager'
  67. ## Extra keyword arguments to pass to `set_secure_cookie`. See tornado's
  68. # set_secure_cookie docs for details.
  69. #c.NotebookApp.cookie_options = {}
  70. ## The random bytes used to secure cookies. By default this is a new random
  71. # number every time you start the Notebook. Set it to a value in a config file
  72. # to enable logins to persist across server sessions.
  73. #
  74. # Note: Cookie secrets should be kept private, do not share config files with
  75. # cookie_secret stored in plaintext (you can read the value from a file).
  76. #c.NotebookApp.cookie_secret = ''
  77. ## The file where the cookie secret is stored.
  78. #c.NotebookApp.cookie_secret_file = u''
  79. ## The default URL to redirect to from `/`
  80. #c.NotebookApp.default_url = '/tree'
  81. ## Disable cross-site-request-forgery protection
  82. #
  83. # Jupyter notebook 4.3.1 introduces protection from cross-site request
  84. # forgeries, requiring API requests to either:
  85. #
  86. # - originate from pages served by this server (validated with XSRF cookie and
  87. # token), or - authenticate with a token
  88. #
  89. # Some anonymous compute resources still desire the ability to run code,
  90. # completely without authentication. These services can disable all
  91. # authentication and security checks, with the full knowledge of what that
  92. # implies.
  93. #c.NotebookApp.disable_check_xsrf = False
  94. ## Whether to enable MathJax for typesetting math/TeX
  95. #
  96. # MathJax is the javascript library Jupyter uses to render math/LaTeX. It is
  97. # very large, so you may want to disable it if you have a slow internet
  98. # connection, or for offline use of the notebook.
  99. #
  100. # When disabled, equations etc. will appear as their untransformed TeX source.
  101. #c.NotebookApp.enable_mathjax = True
  102. ## extra paths to look for Javascript notebook extensions
  103. #c.NotebookApp.extra_nbextensions_path = []
  104. ## Extra paths to search for serving static files.
  105. #
  106. # This allows adding javascript/css to be available from the notebook server
  107. # machine, or overriding individual files in the IPython
  108. #c.NotebookApp.extra_static_paths = []
  109. ## Extra paths to search for serving jinja templates.
  110. #
  111. # Can be used to override templates from notebook.templates.
  112. #c.NotebookApp.extra_template_paths = []
  113. ##
  114. #c.NotebookApp.file_to_run = ''
  115. ## Deprecated: Use minified JS file or not, mainly use during dev to avoid JS
  116. # recompilation
  117. #c.NotebookApp.ignore_minified_js = False
  118. ## (bytes/sec) Maximum rate at which messages can be sent on iopub before they
  119. # are limited.
  120. #c.NotebookApp.iopub_data_rate_limit = 1000000
  121. ## (msgs/sec) Maximum rate at which messages can be sent on iopub before they are
  122. # limited.
  123. #c.NotebookApp.iopub_msg_rate_limit = 1000
  124. ## The IP address the notebook server will listen on.
  125. c.NotebookApp.ip = '*'
  126. ## Supply extra arguments that will be passed to Jinja environment.
  127. #c.NotebookApp.jinja_environment_options = {}
  128. ## Extra variables to supply to jinja templates when rendering.
  129. #c.NotebookApp.jinja_template_vars = {}
  130. ## The kernel manager class to use.
  131. #c.NotebookApp.kernel_manager_class = 'notebook.services.kernels.kernelmanager.MappingKernelManager'
  132. ## The kernel spec manager class to use. Should be a subclass of
  133. # `jupyter_client.kernelspec.KernelSpecManager`.
  134. #
  135. # The Api of KernelSpecManager is provisional and might change without warning
  136. # between this version of Jupyter and the next stable one.
  137. #c.NotebookApp.kernel_spec_manager_class = 'jupyter_client.kernelspec.KernelSpecManager'
  138. ## The full path to a private key file for usage with SSL/TLS.
  139. #c.NotebookApp.keyfile = u''
  140. ## The login handler class to use.
  141. #c.NotebookApp.login_handler_class = 'notebook.auth.login.LoginHandler'
  142. ## The logout handler class to use.
  143. #c.NotebookApp.logout_handler_class = 'notebook.auth.logout.LogoutHandler'
  144. ## The MathJax.js configuration file that is to be used.
  145. #c.NotebookApp.mathjax_config = 'TeX-AMS-MML_HTMLorMML-full,Safe'
  146. ## A custom url for MathJax.js. Should be in the form of a case-sensitive url to
  147. # MathJax, for example: /static/components/MathJax/MathJax.js
  148. #c.NotebookApp.mathjax_url = ''
  149. ## Dict of Python modules to load as notebook server extensions.Entry values can
  150. # be used to enable and disable the loading ofthe extensions. The extensions
  151. # will be loaded in alphabetical order.
  152. #c.NotebookApp.nbserver_extensions = {}
  153. ## The directory to use for notebooks and kernels.
  154. #c.NotebookApp.notebook_dir = u''
  155. ## Whether to open in a browser after starting. The specific browser used is
  156. # platform dependent and determined by the python standard library `webbrowser`
  157. # module, unless it is overridden using the --browser (NotebookApp.browser)
  158. # configuration option.
  159. c.NotebookApp.open_browser = False
  160. ## Hashed password to use for web authentication.
  161. #
  162. # To generate, type in a python/IPython shell:
  163. #
  164. # from notebook.auth import passwd; passwd()
  165. #
  166. # The string should be of the form type:salt:hashed-password.
  167. c.NotebookApp.password = u'sha1:541752f910ba:24d697c59553365469ca804b54127458aa35b755'
  168. ## Forces users to use a password for the Notebook server. This is useful in a
  169. # multi user environment, for instance when everybody in the LAN can access each
  170. # other's machine though ssh.
  171. #
  172. # In such a case, server the notebook server on localhost is not secure since
  173. # any user can connect to the notebook server via ssh.
  174. #c.NotebookApp.password_required = False
  175. ## The port the notebook server will listen on.
  176. c.NotebookApp.port = 8888
  177. ## The number of additional ports to try if the specified port is not available.
  178. #c.NotebookApp.port_retries = 50
  179. ## DISABLED: use %pylab or %matplotlib in the notebook to enable matplotlib.
  180. c.NotebookApp.pylab = 'inline'
  181. ## (sec) Time window used to check the message and data rate limits.
  182. #c.NotebookApp.rate_limit_window = 3
  183. ## Reraise exceptions encountered loading server extensions?
  184. #c.NotebookApp.reraise_server_extension_failures = False
  185. ## DEPRECATED use the nbserver_extensions dict instead
  186. #c.NotebookApp.server_extensions = []
  187. ## The session manager class to use.
  188. #c.NotebookApp.session_manager_class = 'notebook.services.sessions.sessionmanager.SessionManager'
  189. ## Supply SSL options for the tornado HTTPServer. See the tornado docs for
  190. # details.
  191. #c.NotebookApp.ssl_options = {}
  192. ## Supply overrides for terminado. Currently only supports "shell_command".
  193. #c.NotebookApp.terminado_settings = {}
  194. ## Token used for authenticating first-time connections to the server.
  195. #
  196. # When no password is enabled, the default is to generate a new, random token.
  197. #
  198. # Setting to an empty string disables authentication altogether, which is NOT
  199. # RECOMMENDED.
  200. #c.NotebookApp.token = '<generated>'
  201. ## Supply overrides for the tornado.web.Application that the Jupyter notebook
  202. # uses.
  203. #c.NotebookApp.tornado_settings = {}
  204. ## Whether to trust or not X-Scheme/X-Forwarded-Proto and X-Real-Ip/X-Forwarded-
  205. # For headerssent by the upstream reverse proxy. Necessary if the proxy handles
  206. # SSL
  207. #c.NotebookApp.trust_xheaders = False
  208. ## DEPRECATED, use tornado_settings
  209. #c.NotebookApp.webapp_settings = {}
  210. ## The base URL for websockets, if it differs from the HTTP server (hint: it
  211. # almost certainly doesn't).
  212. #
  213. # Should be in the form of an HTTP origin: ws[s]://hostname[:port]
  214. #c.NotebookApp.websocket_url = ''
  215. #------------------------------------------------------------------------------
  216. # ConnectionFileMixin(LoggingConfigurable) configuration
  217. #------------------------------------------------------------------------------
  218. ## Mixin for configurable classes that work with connection files
  219. ## JSON file in which to store connection info [default: kernel-<pid>.json]
  220. #
  221. # This file will contain the IP, ports, and authentication key needed to connect
  222. # clients to this kernel. By default, this file will be created in the security
  223. # dir of the current profile, but can be specified by absolute path.
  224. #c.ConnectionFileMixin.connection_file = ''
  225. ## set the control (ROUTER) port [default: random]
  226. #c.ConnectionFileMixin.control_port = 0
  227. ## set the heartbeat port [default: random]
  228. #c.ConnectionFileMixin.hb_port = 0
  229. ## set the iopub (PUB) port [default: random]
  230. #c.ConnectionFileMixin.iopub_port = 0
  231. ## Set the kernel's IP address [default localhost]. If the IP address is
  232. # something other than localhost, then Consoles on other machines will be able
  233. # to connect to the Kernel, so be careful!
  234. #c.ConnectionFileMixin.ip = u''
  235. ## set the shell (ROUTER) port [default: random]
  236. #c.ConnectionFileMixin.shell_port = 0
  237. ## set the stdin (ROUTER) port [default: random]
  238. #c.ConnectionFileMixin.stdin_port = 0
  239. ##
  240. #c.ConnectionFileMixin.transport = 'tcp'
  241. #------------------------------------------------------------------------------
  242. # KernelManager(ConnectionFileMixin) configuration
  243. #------------------------------------------------------------------------------
  244. ## Manages a single kernel in a subprocess on this host.
  245. #
  246. # This version starts kernels with Popen.
  247. ## Should we autorestart the kernel if it dies.
  248. #c.KernelManager.autorestart = True
  249. ## DEPRECATED: Use kernel_name instead.
  250. #
  251. # The Popen Command to launch the kernel. Override this if you have a custom
  252. # kernel. If kernel_cmd is specified in a configuration file, Jupyter does not
  253. # pass any arguments to the kernel, because it cannot make any assumptions about
  254. # the arguments that the kernel understands. In particular, this means that the
  255. # kernel does not receive the option --debug if it given on the Jupyter command
  256. # line.
  257. #c.KernelManager.kernel_cmd = []
  258. ## Time to wait for a kernel to terminate before killing it, in seconds.
  259. #c.KernelManager.shutdown_wait_time = 5.0
  260. #------------------------------------------------------------------------------
  261. # Session(Configurable) configuration
  262. #------------------------------------------------------------------------------
  263. ## Object for handling serialization and sending of messages.
  264. #
  265. # The Session object handles building messages and sending them with ZMQ sockets
  266. # or ZMQStream objects. Objects can communicate with each other over the
  267. # network via Session objects, and only need to work with the dict-based IPython
  268. # message spec. The Session will handle serialization/deserialization, security,
  269. # and metadata.
  270. #
  271. # Sessions support configurable serialization via packer/unpacker traits, and
  272. # signing with HMAC digests via the key/keyfile traits.
  273. #
  274. # Parameters ----------
  275. #
  276. # debug : bool
  277. # whether to trigger extra debugging statements
  278. # packer/unpacker : str : 'json', 'pickle' or import_string
  279. # importstrings for methods to serialize message parts. If just
  280. # 'json' or 'pickle', predefined JSON and pickle packers will be used.
  281. # Otherwise, the entire importstring must be used.
  282. #
  283. # The functions must accept at least valid JSON input, and output *bytes*.
  284. #
  285. # For example, to use msgpack:
  286. # packer = 'msgpack.packb', unpacker='msgpack.unpackb'
  287. # pack/unpack : callables
  288. # You can also set the pack/unpack callables for serialization directly.
  289. # session : bytes
  290. # the ID of this Session object. The default is to generate a new UUID.
  291. # username : unicode
  292. # username added to message headers. The default is to ask the OS.
  293. # key : bytes
  294. # The key used to initialize an HMAC signature. If unset, messages
  295. # will not be signed or checked.
  296. # keyfile : filepath
  297. # The file containing a key. If this is set, `key` will be initialized
  298. # to the contents of the file.
  299. ## Threshold (in bytes) beyond which an object's buffer should be extracted to
  300. # avoid pickling.
  301. #c.Session.buffer_threshold = 1024
  302. ## Whether to check PID to protect against calls after fork.
  303. #
  304. # This check can be disabled if fork-safety is handled elsewhere.
  305. #c.Session.check_pid = True
  306. ## Threshold (in bytes) beyond which a buffer should be sent without copying.
  307. #c.Session.copy_threshold = 65536
  308. ## Debug output in the Session
  309. #c.Session.debug = False
  310. ## The maximum number of digests to remember.
  311. #
  312. # The digest history will be culled when it exceeds this value.
  313. #c.Session.digest_history_size = 65536
  314. ## The maximum number of items for a container to be introspected for custom
  315. # serialization. Containers larger than this are pickled outright.
  316. #c.Session.item_threshold = 64
  317. ## execution key, for signing messages.
  318. #c.Session.key = ''
  319. ## path to file containing execution key.
  320. #c.Session.keyfile = ''
  321. ## Metadata dictionary, which serves as the default top-level metadata dict for
  322. # each message.
  323. #c.Session.metadata = {}
  324. ## The name of the packer for serializing messages. Should be one of 'json',
  325. # 'pickle', or an import name for a custom callable serializer.
  326. #c.Session.packer = 'json'
  327. ## The UUID identifying this session.
  328. #c.Session.session = u''
  329. ## The digest scheme used to construct the message signatures. Must have the form
  330. # 'hmac-HASH'.
  331. #c.Session.signature_scheme = 'hmac-sha256'
  332. ## The name of the unpacker for unserializing messages. Only used with custom
  333. # functions for `packer`.
  334. #c.Session.unpacker = 'json'
  335. ## Username for the Session. Default is your system username.
  336. #c.Session.username = u'username'
  337. #------------------------------------------------------------------------------
  338. # MultiKernelManager(LoggingConfigurable) configuration
  339. #------------------------------------------------------------------------------
  340. ## A class for managing multiple kernels.
  341. ## The name of the default kernel to start
  342. #c.MultiKernelManager.default_kernel_name = 'python2'
  343. ## The kernel manager class. This is configurable to allow subclassing of the
  344. # KernelManager for customized behavior.
  345. #c.MultiKernelManager.kernel_manager_class = 'jupyter_client.ioloop.IOLoopKernelManager'
  346. #------------------------------------------------------------------------------
  347. # MappingKernelManager(MultiKernelManager) configuration
  348. #------------------------------------------------------------------------------
  349. ## A KernelManager that handles notebook mapping and HTTP error handling
  350. ##
  351. #c.MappingKernelManager.root_dir = u''
  352. #------------------------------------------------------------------------------
  353. # ContentsManager(LoggingConfigurable) configuration
  354. #------------------------------------------------------------------------------
  355. ## Base class for serving files and directories.
  356. #
  357. # This serves any text or binary file, as well as directories, with special
  358. # handling for JSON notebook documents.
  359. #
  360. # Most APIs take a path argument, which is always an API-style unicode path, and
  361. # always refers to a directory.
  362. #
  363. # - unicode, not url-escaped
  364. # - '/'-separated
  365. # - leading and trailing '/' will be stripped
  366. # - if unspecified, path defaults to '',
  367. # indicating the root path.
  368. ##
  369. #c.ContentsManager.checkpoints = None
  370. ##
  371. #c.ContentsManager.checkpoints_class = 'notebook.services.contents.checkpoints.Checkpoints'
  372. ##
  373. #c.ContentsManager.checkpoints_kwargs = {}
  374. ## Glob patterns to hide in file and directory listings.
  375. #c.ContentsManager.hide_globs = [u'__pycache__', '*.pyc', '*.pyo', '.DS_Store', '*.so', '*.dylib', '*~']
  376. ## Python callable or importstring thereof
  377. #
  378. # To be called on a contents model prior to save.
  379. #
  380. # This can be used to process the structure, such as removing notebook outputs
  381. # or other side effects that should not be saved.
  382. #
  383. # It will be called as (all arguments passed by keyword)::
  384. #
  385. # hook(path=path, model=model, contents_manager=self)
  386. #
  387. # - model: the model to be saved. Includes file contents.
  388. # Modifying this dict will affect the file that is stored.
  389. # - path: the API path of the save destination
  390. # - contents_manager: this ContentsManager instance
  391. #c.ContentsManager.pre_save_hook = None
  392. ##
  393. #c.ContentsManager.root_dir = '/'
  394. ## The base name used when creating untitled directories.
  395. #c.ContentsManager.untitled_directory = 'Untitled Folder'
  396. ## The base name used when creating untitled files.
  397. #c.ContentsManager.untitled_file = 'untitled'
  398. ## The base name used when creating untitled notebooks.
  399. #c.ContentsManager.untitled_notebook = 'Untitled'
  400. #------------------------------------------------------------------------------
  401. # FileManagerMixin(Configurable) configuration
  402. #------------------------------------------------------------------------------
  403. ## Mixin for ContentsAPI classes that interact with the filesystem.
  404. #
  405. # Provides facilities for reading, writing, and copying both notebooks and
  406. # generic files.
  407. #
  408. # Shared by FileContentsManager and FileCheckpoints.
  409. #
  410. # Note ---- Classes using this mixin must provide the following attributes:
  411. #
  412. # root_dir : unicode
  413. # A directory against against which API-style paths are to be resolved.
  414. #
  415. # log : logging.Logger
  416. ## By default notebooks are saved on disk on a temporary file and then if
  417. # succefully written, it replaces the old ones. This procedure, namely
  418. # 'atomic_writing', causes some bugs on file system whitout operation order
  419. # enforcement (like some networked fs). If set to False, the new notebook is
  420. # written directly on the old one which could fail (eg: full filesystem or quota
  421. # )
  422. #c.FileManagerMixin.use_atomic_writing = True
  423. #------------------------------------------------------------------------------
  424. # FileContentsManager(FileManagerMixin,ContentsManager) configuration
  425. #------------------------------------------------------------------------------
  426. ## Python callable or importstring thereof
  427. #
  428. # to be called on the path of a file just saved.
  429. #
  430. # This can be used to process the file on disk, such as converting the notebook
  431. # to a script or HTML via nbconvert.
  432. #
  433. # It will be called as (all arguments passed by keyword)::
  434. #
  435. # hook(os_path=os_path, model=model, contents_manager=instance)
  436. #
  437. # - path: the filesystem path to the file just written - model: the model
  438. # representing the file - contents_manager: this ContentsManager instance
  439. #c.FileContentsManager.post_save_hook = None
  440. ##
  441. #c.FileContentsManager.root_dir = u''
  442. ## DEPRECATED, use post_save_hook. Will be removed in Notebook 5.0
  443. #c.FileContentsManager.save_script = False
  444. #------------------------------------------------------------------------------
  445. # NotebookNotary(LoggingConfigurable) configuration
  446. #------------------------------------------------------------------------------
  447. ## A class for computing and verifying notebook signatures.
  448. ## The hashing algorithm used to sign notebooks.
  449. #c.NotebookNotary.algorithm = 'sha256'
  450. ## The sqlite file in which to store notebook signatures. By default, this will
  451. # be in your Jupyter data directory. You can set it to ':memory:' to disable
  452. # sqlite writing to the filesystem.
  453. #c.NotebookNotary.db_file = u''
  454. ## The secret key with which notebooks are signed.
  455. #c.NotebookNotary.secret = ''
  456. ## The file where the secret key is stored.
  457. #c.NotebookNotary.secret_file = u''
  458. ## A callable returning the storage backend for notebook signatures. The default
  459. # uses an SQLite database.
  460. #c.NotebookNotary.store_factory = traitlets.Undefined
  461. #------------------------------------------------------------------------------
  462. # KernelSpecManager(LoggingConfigurable) configuration
  463. #------------------------------------------------------------------------------
  464. ## If there is no Python kernelspec registered and the IPython kernel is
  465. # available, ensure it is added to the spec list.
  466. #c.KernelSpecManager.ensure_native_kernel = True
  467. ## The kernel spec class. This is configurable to allow subclassing of the
  468. # KernelSpecManager for customized behavior.
  469. #c.KernelSpecManager.kernel_spec_class = 'jupyter_client.kernelspec.KernelSpec'
  470. ## Whitelist of allowed kernel names.
  471. #
  472. # By default, all installed kernels are allowed.
  473. #c.KernelSpecManager.whitelist = set([])