ubuntu-post-install
ubuntu-post-install copied to clipboard
Doesn't work on Linux mint
➜ Initialization & checks
• Permission checks
• OK! Running as root
• Config file : LOCAL
• Checking dependencies
• Hostname : user-Book
• OS : Linux Mint 21.2
• Distribution : Linux Mint
• Release : victoria
• Architecture : amd64
• Version : 9.2.0
• Checking connectivity
• Connected!
• Checking configuration
➜ Running environment checks
• KVM : false
• HYPERV : false
• WSL : false
• DOCKER : false
• PODMAN : false
• GH-ACTIONS : false
• AZURE PIPELEINES : false
• CI : false
➜ Checking for Ubuntu derivates/Debian
✖ Unknown or unsupported release(victoria) !
➜ Cleanup and Exit
As I understand it, you need to add code like this to _fix_ubuntu_derivatives:
victoria)
log_info "This is Linux Mint 21.2 Victoria."
log_info "Setting additional repositories to follow Ubuntu 22.04."
AE_RUN_CODENAME="jammy"
readonly AE_RUN_DISTRO_NAME="ubuntu"
log_success "Changed codename to $AE_RUN_CODENAME"
;;