canonical / canonical/cloud-init

[enhancement]: raspberry cloud init auto installer without interaction

Open
#6,090 0 comments 0 reactions 0 assignees View on GitHub
bug: external enhancement
Dominant language
Python
Stars
3.8k
Forks
1.1k
Avg merge
3d 8h
Merged PRs (30d)
22

Description

# Enhancement
0

I m trying to automate an raspberry installation running on ubuntu 24.

It seems possible to manage this part using the cloud-init with autoinstall.

I used the following process:

download the image ubuntu24 desktop for rpi 64 flash the sdcard with this image modify on the first partition the file user-data with below code

#cloud-config
autoinstall:
version: 1

locale: "fr_FR.UTF-8"
keyboard:
layout: fr
timezone: Europe/Paris
identity:
hostname: myrpi

When i boot up the rpi it always prompt for language and keyboard selection. I tried to use the key interactive-sections without any success.

Do you have any suggestions ? or ideas ?

Thanks by advance.

Contributor guide

Open the contributing guide

Research direction

Start with the first-partition user-data file and the Ubuntu 24 Raspberry Pi image's cloud-init/autoinstall entry point. Reproduce the boot using the provided locale, keyboard, timezone, and identity settings, then trace why language and keyboard prompts remain; done means the installation completes without interaction.

Written by the indexing model from the issue text.

Assessment

Tech stack
raspberry-pi, ubuntu
Domain
cloud, operating-systems
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.