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

Closed
opened 2023-09-21 18:53:00 +02:00 by landorg · 2 comments
landorg commented 2023-09-21 18:53:00 +02:00 (Migrated from github.com)

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

Hi. I'm ending up [here](https://github.com/hetzneronline/installimage/blob/85e93b43a30955dca5558b44ae844628cd8f0433/network_config.functions.sh#L806) 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](https://github.com/hetzneronline/installimage/blob/85e93b43a30955dca5558b44ae844628cd8f0433/network_config.functions.sh#L658) needs to be updated to: ```bash [[ "$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 2023-09-22 14:09:08 +02:00 (Migrated from github.com)

22.04 not 20.04

22.04 not 20.04
asciiprod commented 2023-09-22 14:12:17 +02:00 (Migrated from github.com)

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

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
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
DiamantTh/installimage#87
No description provided.