Pi hole - Unsupported OS detected: Ubuntu 20.04.1 LTS

I run the following command on newly created AWS Ubuntu 20.04.1 LTS server

curl -sSL https://install.pi-hole.net | bash

But I get many errors and it won’t install:

  [✗] Unsupported OS detected: Ubuntu 20.04.1 LTS
      https://docs.pi-hole.net/main/prerequesites/#supported-operating-systems

      e.g: If you are seeing this message on a fresh install, you can run:
             'curl -sSL https://install.pi-hole.net | PIHOLE_SKIP_OS_CHECK=true sudo -E bash'

           If you are seeing this message after having run pihole -up:
             'PIHOLE_SKIP_OS_CHECK=true sudo -E pihole -r'
           (In this case, your previous run of pihole -up will have already updated the local repository)

      If that is the case, you can feel free to ask the community on Discourse with the Community Help category:

How can I fix this ?

Set PIHOLE_SKIP_OS_CHECK shell variable to true and installer will continue. In other words run the following command as root user:

sudo -i
curl -sSL https://install.pi-hole.net | PIHOLE_SKIP_OS_CHECK=true bash

OR as a normal user:

curl -sSL https://install.pi-hole.net | PIHOLE_SKIP_OS_CHECK=true sudo -E bash

Since 20.04.1 is a new point release installer will think that it is not supported OS.