fix(docs/troubleshooting): fix sudo usage (#4427)
This commit is contained in:
committed by
Julien Fontanet
parent
af5a9b644b
commit
161de6cb7c
@@ -115,9 +115,10 @@ If you're behind a transparent proxy, you'll probably have issues with the updat
|
||||
Run the following commands to allow the updater to work:
|
||||
|
||||
```
|
||||
$ sudo echo NODE_TLS_REJECT_UNAUTHORIZED=0 >> /etc/xo-appliance/env
|
||||
$ sudo npm config -g set strict-ssl=false
|
||||
$ sudo systemctl restart xoa-updater
|
||||
$ sudo -s
|
||||
$ echo NODE_TLS_REJECT_UNAUTHORIZED=0 >> /etc/xo-appliance/env
|
||||
$ npm config -g set strict-ssl=false
|
||||
$ systemctl restart xoa-updater
|
||||
```
|
||||
Now try running an update again.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user