-
Couldn't load subscription status.
- Fork 2
Open
Dasharo/dts-scripts
#93Labels
Description
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
- Boot DTS
- Provide credentials via option
4 - Provide another credentials via option
4 - Enter shell and use
cat /etc/cloud-pass - 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