Skip to content

New DPP credentials are appended to old, and DTS do not recognise the new ones #1463

@DaniilKl

Description

@DaniilKl

Component

Dasharo Tools Suite

Device

other

Dasharo version

all

Dasharo Tools Suite version

v2.5.0

Test case ID

No response

Brief summary

New DPP credentials are being appended to the /etc/cloud-pass file that can cause saving them without erasing old credentials. This will cause the DTS to use tthe old credentials, because DTS checks the first two lines of /etc/cloud-pass file.

How reproducible

100%

How to reproduce

  1. Boot DTS
  2. Provide credentials via option 4
  3. Provide another credentials via option 4
  4. Enter shell and use cat /etc/cloud-pass
  5. See four lines printed instead of two

Expected behavior

/etc/cloud-pass should only contain two lines: the first one is the email and the second one is the password.

Actual behavior

/etc/cloud-pass might contain more then two lines.

Screenshots

No response

Additional context

No response

Solutions you've tried

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions