summaryrefslogtreecommitdiff
path: root/net-mgmt/py-netbox-plugin-extensions/files/pkg-message.in
blob: 27f7005aa2ef05dfce23580ab8488c3be2139b6d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
[
{ type: install
  message: <<EOD
To enable the plugin please do the following steps:

1. Add/update the following line in the netbox configuration (usually
   %%LOCALBASE%%/share/netbox/netbox/configuration.py):

   PLUGINS = ['netbox_plugin_extensions']

2. Run NetBox migrations and collect static files:

   # cd %%LOCALBASE%%/share/netbox
   # python%%PYTHON_VER%% manage.py migrate
   # python%%PYTHON_VER%% manage.py collectstatic --no-input

3. Restart WSGI/httpd environment (supervisord/apache/nginx/etc.)
EOD
}
{ type: upgrade
  maximum_version: 1.1.1
  message: <<EOD
Since the 1.0.8 release following steps are required to enable the plugin:

1. Add/update the following line in the netbox configuration (usually
   %%LOCALBASE%%/share/netbox/netbox/configuration.py):

   PLUGINS = ['netbox_plugin_extensions']

2. Run NetBox migrations and collect static files:

   # cd %%LOCALBASE%%/share/netbox
   # python%%PYTHON_VER%% manage.py migrate
   # python%%PYTHON_VER%% manage.py collectstatic --no-input

3. Restart WSGI/httpd environment (supervisord/apache/nginx/etc.)
EOD
}
]