mirror of
https://github.com/telekom-security/tpotce.git
synced 2025-08-23 03:16:55 +00:00
Fix links and add support for Debian 13
This commit is contained in:
parent
0be973b4eb
commit
5a69b3d460
3 changed files with 32 additions and 20 deletions
|
@ -326,11 +326,11 @@ Once you are familiar with how things work you should choose a network you suspe
|
|||
| Distribution Name | x64 | arm64 |
|
||||
| :--------------------------------------------------------------------------------- | :------------------------------------------------------------------------------------------------------------------------------------ | :-------------------------------------------------------------------------------------------------------------------------------------- |
|
||||
| [Alma Linux OS 9.6 Boot ISO](https://almalinux.org) | [download](https://repo.almalinux.org/almalinux/9.6/isos/x86_64/AlmaLinux-9.6-x86_64-boot.iso) | [download](https://repo.almalinux.org/almalinux/9.6/isos/aarch64/AlmaLinux-9.6-aarch64-boot.iso) |
|
||||
| [Debian 12 Network Install](https://www.debian.org/CD/netinst/index.en.html) | [download](https://cdimage.debian.org/debian-cd/current/amd64/iso-cd/debian-12.11.0-amd64-netinst.iso) | [download](https://cdimage.debian.org/debian-cd/current/arm64/iso-cd/debian-12.11.0-arm64-netinst.iso) |
|
||||
| [Debian 13 Network Install](https://www.debian.org/CD/netinst/index.en.html) | [download](https://cdimage.debian.org/debian-cd/current/amd64/iso-cd/debian-13.0.0-amd64-netinst.iso) | [download](https://cdimage.debian.org/debian-cd/current/arm64/iso-cd/debian-13.0.0-arm64-netinst.iso) |
|
||||
| [Fedora Server 42 Network Install](https://fedoraproject.org/server/download) | [download](https://download.fedoraproject.org/pub/fedora/linux/releases/42/Server/x86_64/iso/Fedora-Server-netinst-x86_64-42-1.1.iso) | [download](https://download.fedoraproject.org/pub/fedora/linux/releases/42/Server/aarch64/iso/Fedora-Server-netinst-aarch64-42-1.1.iso) |
|
||||
| [OpenSuse Tumbleweed Network Image](https://get.opensuse.org/tumbleweed/#download) | [download](https://download.opensuse.org/tumbleweed/iso/openSUSE-Tumbleweed-NET-x86_64-Current.iso) | [download](https://download.opensuse.org/ports/aarch64/tumbleweed/iso/openSUSE-Tumbleweed-NET-aarch64-Current.iso) |
|
||||
| [Rocky Linux OS 9.6 Boot ISO](https://rockylinux.org/download) | [download](https://download.rockylinux.org/pub/rocky/9/isos/x86_64/Rocky-9.6-x86_64-minimal.iso) | [download](https://download.rockylinux.org/pub/rocky/9/isos/aarch64/Rocky-9.6-aarch64-minimal.iso) |
|
||||
| [Ubuntu 24.04.2 Live Server](https://ubuntu.com/download/server) | [download](https://releases.ubuntu.com/24.04/ubuntu-24.04.2-live-server-amd64.iso) | [download](https://cdimage.ubuntu.com/releases/24.04/release/ubuntu-24.04.2-live-server-arm64.iso) |
|
||||
| [Ubuntu 24.04.3 Live Server](https://ubuntu.com/download/server) | [download](https://releases.ubuntu.com/24.04/ubuntu-24.04.3-live-server-amd64.iso) | [download](https://cdimage.ubuntu.com/releases/24.04/release/ubuntu-24.04.3-live-server-arm64.iso) |
|
||||
|
||||
<br>
|
||||
|
||||
|
|
|
@ -206,6 +206,11 @@ if [ ! -f installer/install/tpot.yml ] && [ ! -f tpot.yml ];
|
|||
fi
|
||||
|
||||
# Check type of sudo access
|
||||
if myANSIBLE_TAG="Debian";
|
||||
# Debian 13 - sudo seems to apply stricter settings, we now ask for the become password
|
||||
then
|
||||
myANSIBLE_BECOME_OPTION="--become --ask-become-pass"
|
||||
else
|
||||
sudo -n true > /dev/null 2>&1
|
||||
if [ $? -eq 1 ];
|
||||
then
|
||||
|
@ -218,6 +223,7 @@ if [ $? -eq 1 ];
|
|||
echo "### ‘sudo‘ acquired, setting ansible become option to ${myANSIBLE_BECOME_OPTION}."
|
||||
echo
|
||||
fi
|
||||
fi
|
||||
|
||||
# Run Ansible Playbook
|
||||
echo "### Now running T-Pot Ansible Installation Playbook ..."
|
||||
|
|
|
@ -63,6 +63,11 @@ if [[ "${myANSIBLE_DISTRIBUTIONS[@]}" =~ "${myCURRENT_DISTRIBUTION}" ]];
|
|||
fi
|
||||
|
||||
# Check type of sudo access
|
||||
if myANSIBLE_TAG="Debian";
|
||||
# Debian 13 - sudo seems to apply stricter settings, we now ask for the become password
|
||||
then
|
||||
myANSIBLE_BECOME_OPTION="--become --ask-become-pass"
|
||||
else
|
||||
sudo -n true > /dev/null 2>&1
|
||||
if [ $? -eq 1 ];
|
||||
then
|
||||
|
@ -75,6 +80,7 @@ if [ $? -eq 1 ];
|
|||
echo "### ‘sudo‘ acquired, setting ansible become option to ${myANSIBLE_BECOME_OPTION}."
|
||||
echo
|
||||
fi
|
||||
fi
|
||||
|
||||
# Run Ansible Playbook
|
||||
echo "### Now running T-Pot Ansible Uninstallation Playbook ..."
|
||||
|
|
Loading…
Reference in a new issue