Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 8609

Raspberry Pi OS • Re: Cloud-Init Skipping Modules

$
0
0
Haven't had any luck getting runcmd to actually run.

I tried changing the run commands to something very simple like ls -l / and running the runcmd ad-hoc.

Code:

sudo cloud-init single --name runcmd --frequency always --file /boot/firmware/user-data
And all I get is this:

Code:

sudo cloud-init single --name runcmd --frequency always --file /boot/firmware/user-data
The log just shows this

Code:

2025-12-05 03:54:45,097 - log_util.py[DEBUG]: Cloud-init v. 25.2 running 'single' at Fri, 05 Dec 2025 03:54:45 +0000. Up 2236.40 seconds.2025-12-05 03:54:45,098 - stages.py[DEBUG]: Using distro class <class 'cloudinit.distros.raspberry_pi_os.Distro'>2025-12-05 03:54:45,098 - modules.py[DEBUG]: Running module runcmd (<module 'cloudinit.config.cc_runcmd' from '/usr/lib/python3/dist-packages/cloudinit/config/cc_runcmd.py'>) with frequency always2025-12-05 03:54:45,098 - helpers.py[DEBUG]: Running config-runcmd using lock (<cloudinit.helpers.DummyLock object at 0x7fff696e2660>)2025-12-05 03:54:45,098 - util.py[DEBUG]: Shellified 1 commands.2025-12-05 03:54:45,099 - util.py[DEBUG]: Writing to /var/lib/cloud/instances/iid-datasource-none/scripts/runcmd - wb: [700] 29 bytes2025-12-05 03:54:45,099 - performance.py[DEBUG]: cloud-init stage: 'single/runcmd' took 0.040 seconds
I tried the same add hoc command with cc_package_update_upgrade_install module and it worked fine.

Any suggestion from anyone?

Statistics: Posted by chavim — Fri Dec 05, 2025 3:58 am



Viewing all articles
Browse latest Browse all 8609

Trending Articles