hetzneronline / installimage

Bash scripts to universally deploy various distributions
Other
517 stars 143 forks source link

netplan error: gateway6 has been deprecated with latest ubuntu 20.04 image #87

Closed landorg closed 11 months ago

landorg commented 11 months ago

Hi. I'm ending up here with:

[18:10:19] fatal: netplan generate stderr not empty:
[18:10:19] :
[18:10:19] :   ** (generate:3): WARNING **: 18:10:19.467: `gateway6` has been deprecated, use default routes instead.
[18:10:19] :   See the 'Default routes' section of the documentation for more details.
[18:10:19] => FAILED

using the most recent 20.04 ubuntu image.

Maybe this needs to be updated to:

    [[ "$IAM" == ubuntu ]] && ((IMG_VERSION < 2004)) && force_pre_103_style=1

Using this image: https://releases.ubuntu.com/jammy/ubuntu-22.04.3-live-server-amd64.iso

Any idea how to work around this? Thanks

landorg commented 11 months ago

22.04 not 20.04

asciiprod commented 11 months ago

Installimage works with tar archives. It does not support ISO images. For custom images you can find the requirements here: https://docs.hetzner.com/robot/dedicated-server/operating-systems/installing-custom-images/#install-older-linux-images-using-the-installimage-script