diff --git a/README.md b/README.md index 5717102b19e6..3e1c7d6b19f5 100644 --- a/README.md +++ b/README.md @@ -95,4 +95,3 @@ Licensed under the GNU General Public License v2. [mailing_lists]: https://packetfence.org/support/index.html#/community "Community Mailing Lists" - diff --git a/ci/debian-installer/postinst-debian-installer.sh b/ci/debian-installer/postinst-debian-installer.sh index 176757eec69f..0f0cf5084e6e 100644 --- a/ci/debian-installer/postinst-debian-installer.sh +++ b/ci/debian-installer/postinst-debian-installer.sh @@ -7,7 +7,11 @@ apt install packetfence -y sed -i '/^deb cdrom:/s/^/#/' /etc/apt/sources.list sed -i 's/#PermitRootLogin.*/PermitRootLogin yes/g' /etc/ssh/sshd_config sed -i 's/.*inverse\.ca.*//g' /etc/apt/sources.list -echo "deb http://inverse.ca/downloads/PacketFence/debian/${PF_VERSION} bookworm bookworm" > /etc/apt/sources.list.d/packetfence.list +apt-get update +apt install gnupg sudo curl +curl -fsSL https://inverse.ca/downloads/GPG_PUBLIC_KEY | gpg --dearmor -o /etc/apt/keyrings/packetfence.gpg +echo "deb [signed-by=/etc/apt/keyrings/packetfence.gpg] http://inverse.ca/downloads/PacketFence/debian/14.0 bookworm bookworm" > \ + /etc/apt/sources.list.d/packetfence.list echo "SET PASSWORD FOR root@'localhost' = PASSWORD('');" > /tmp/reset-root.sql mkdir /run/mysqld chown mysql: /run/mysqld/