Tuesday, June 22, 2021

Ubuntu reset APT sources

 

Command to reset apt sources in Ubuntu:
printf 'deb http://archive.ubuntu.com/ubuntu %s main multiverse universe restricted\n' "$(lsb_release -sc)"{,-security} > /etc/apt/sources.list

Friday, June 18, 2021

Using the FortiOS API

 I found this great article on terraform.io on how to setup API's in Fortigate devices. This was difficult to find documentation about so I figured I would call out the good job that they did in publishing this guide. 

https://registry.terraform.io/providers/fortinetdev/fortios/latest/docs/guides/fgt_token