lefeck / ubuntu-autoinstall-generator-tools

Generate a fully-automated Ubuntu ISO for unattended installations.
GNU General Public License v3.0
34 stars 9 forks source link

Script just suddenly stops after verifying downloaded iso? #2

Closed WiehanAu closed 9 months ago

WiehanAu commented 9 months ago

Hi,

I have a fresh install of Ubuntu 22.04.3 LTS. I'm attempting to run the script to create an autoinstall iso of 22.04.03LTS

Running the basic example as per the readme, it starts up all good but then after downloading the IOS and verifying it, it just stops, with no indication of why. How would I troubleshoot this to find the cause?

root@tnf-wa-ubuntu1:/local/ubuntu-autoinstall-generator-tools# ./ubuntu-autoinstall-generator-tools.sh -a -u user-data -n jammy -d ubuntu-autoinstall-jammytest.iso [2024-01-24 12:07:24] 👶 Starting up... [2024-01-24 12:07:24] 🔎 Checking for current release... [2024-01-24 12:07:26] 💿 Current release is 22.04.3 [2024-01-24 12:07:26] 📁 Created temporary working directory /tmp/tmp.R0sadgMIZe [2024-01-24 12:07:26] 🔎 Checking for required utilities... [2024-01-24 12:07:26] 👍 All required utilities are installed. [2024-01-24 12:07:26] ☑️ Using existing /local/ubuntu-autoinstall-generator-tools/ubuntu-22.04.3-live-server-amd64.iso file. [2024-01-24 12:07:26] ☑️ Using existing SHA256SUMS-22.04.3 & SHA256SUMS-22.04.3.gpg files. [2024-01-24 12:07:26] ☑️ Using existing Ubuntu signing key saved in /local/ubuntu-autoinstall-generator-tools/843938DF228D22F7B3742BC0D94AA3F0EFE21092.keyring [2024-01-24 12:07:26] 🔐 Verifying /local/ubuntu-autoinstall-generator-tools/ubuntu-22.04.3-live-server-amd64.iso integrity and authenticity... [2024-01-24 12:07:26] 🚽 Deleted temporary working directory /tmp/tmp.R0sadgMIZe root@tnf-wa-ubuntu1:/local/ubuntu-autoinstall-generator-tools#

WiehanAu commented 9 months ago

Ok, appears to have something to do with verifying. Add the -k flag to skip verifying, now it appears to have completed.

WiehanAu commented 9 months ago

Most likely a local gpg issue and not the script.