Skip to content

Commit aa6fc11

Browse files
Update install/netbox-install.sh
Co-authored-by: Håvard Gjøby Thom <[email protected]>
1 parent 2b24236 commit aa6fc11

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

install/netbox-install.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ $STD /opt/netbox/upgrade.sh
6868
ln -s /opt/netbox/contrib/netbox-housekeeping.sh /etc/cron.daily/netbox-housekeeping
6969

7070
mv /opt/netbox/contrib/apache.conf /etc/apache2/sites-available/netbox.conf
71-
openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout /etc/ssl/private/netbox.key -out /etc/ssl/certs/netbox.crt -subj "/C=US/O=NetBox/OU=Certificate/CN=localhost" &>/dev/null
71+
$STD openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout /etc/ssl/private/netbox.key -out /etc/ssl/certs/netbox.crt -subj "/C=US/O=NetBox/OU=Certificate/CN=localhost"
7272
$STD a2enmod ssl proxy proxy_http headers rewrite
7373
$STD a2ensite netbox
7474
systemctl restart apache2

0 commit comments

Comments
 (0)