mirror of https://github.com/MISP/PyMISP
fix: Properly initialize the config when jupyter runs on the VM
parent
dcdbbd1bb4
commit
ada955a9e6
|
@ -70,6 +70,8 @@
|
|||
"\n",
|
||||
"api_file = Path('apikey')\n",
|
||||
"if api_file.exists():\n",
|
||||
" misp_url = 'http://127.0.0.1'\n",
|
||||
" misp_verifycert = False\n",
|
||||
" with open(api_file) as f:\n",
|
||||
" misp_key = f.read().strip()\n",
|
||||
" print(misp_key)"
|
||||
|
|
|
@ -47,6 +47,8 @@
|
|||
"\n",
|
||||
"api_file = Path('apikey')\n",
|
||||
"if api_file.exists():\n",
|
||||
" misp_url = 'http://127.0.0.1'\n",
|
||||
" misp_verifycert = False\n",
|
||||
" with open(api_file) as f:\n",
|
||||
" misp_key = f.read().strip()\n",
|
||||
" print(misp_key)"
|
||||
|
|
|
@ -32,6 +32,8 @@
|
|||
"\n",
|
||||
"api_file = Path('apikey')\n",
|
||||
"if api_file.exists():\n",
|
||||
" misp_url = 'http://127.0.0.1'\n",
|
||||
" misp_verifycert = False\n",
|
||||
" with open(api_file) as f:\n",
|
||||
" misp_key = f.read().strip()\n",
|
||||
" print(misp_key)"
|
||||
|
|
|
@ -45,6 +45,8 @@
|
|||
"\n",
|
||||
"api_file = Path('apikey')\n",
|
||||
"if api_file.exists():\n",
|
||||
" misp_url = 'http://127.0.0.1'\n",
|
||||
" misp_verifycert = False\n",
|
||||
" with open(api_file) as f:\n",
|
||||
" misp_key = f.read().strip()\n",
|
||||
" print(misp_key)"
|
||||
|
|
Loading…
Reference in New Issue