Skip to content

Customised fedora cloud image not completing the startup on Linux (fedora host). #2335

Answered by Ranjandas
Ranjandas asked this question in Q&A
Discussion options

You must be logged in to vote

Thank you for your inputs @afbjorklund. I managed to get into the VM using serial.sock and could inspect the cloud-init.log.

Looks like it is failing because the useradd command is using UID 1000 (from my linux host), which is already taken by my fedora user.

2024-05-13 06:49:13,815 - __init__.py[DEBUG]: Adding user ranjan
2024-05-13 06:49:13,815 - subp.py[DEBUG]: Running hidden command to protect sensitive input/output logstring: ['useradd', 'ranjan', '--home', '/home/ranjan.linux', '--shell', '/bin/bash', '--uid', '1000', '-m']
2024-05-13 06:49:13,943 - util.py[WARNING]: Failed to create user ranjan
2024-05-13 06:49:13,943 - util.py[DEBUG]: Failed to create user ranjan
Traceback (most r…

Replies: 1 comment 11 replies

Comment options

You must be logged in to vote
11 replies
@Ranjandas
Comment options

@afbjorklund
Comment options

@Ranjandas
Comment options

Answer selected by Ranjandas
@afbjorklund
Comment options

@Ranjandas
Comment options

@afbjorklund
Comment options

@Ranjandas
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants