Skip to content

Commit

Permalink
Merge pull request #121 from scaleway/moul-patch-1
Browse files Browse the repository at this point in the history
Do not store serial root password in standard user data
  • Loading branch information
moul committed Nov 24, 2015
2 parents b711147 + 7e03e1f commit 3a1f042
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions Linux/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,7 @@ Here are the availble *initrd variables*:
### master (unreleased)

* Speedup boot [#108](https://github.com/scaleway/initrd/issues/108)
* Do not store serial root password in standard user data

### v3.5 (2015-11-19)

Expand Down
6 changes: 3 additions & 3 deletions Linux/tree-common/init
Original file line number Diff line number Diff line change
Expand Up @@ -201,9 +201,9 @@ if [[ "$?" -eq 0 || "$(get_any RESET_PASSWORD)" == "1" || -f "${rootmnt}/.scw-re
log_end_msg
# delete /.scw-reset-password-on-next-boot if it exists
run rm -f "${rootmnt}/.scw-reset-password-on-next-boot"
if [ "$(get_opt NO_METADATA)" != "1" ]; then
scw-update-server-state -u "root_password=$PASSWORD"
fi
#if [ "$(get_opt NO_METADATA)" != "1" ]; then
# scw-update-server-state -u "root_password=$PASSWORD"
#fi
fi


Expand Down

0 comments on commit 3a1f042

Please sign in to comment.