Skip to content

Commit

Permalink
fixed root pass settings
Browse files Browse the repository at this point in the history
  • Loading branch information
Jeff Bezos committed Oct 23, 2024
1 parent 4a66de2 commit 38633f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/install.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ void install_soviet(const std::string& target_drive,

if (execInChroot("echo 'KEYMAP=" + keymap + "' > /etc/vconsole.conf") != 0) return;
//if (execInChroot("echo 'LANG="+ locale + "' > /etc/locale.conf && locale-gen") != 0) return;
if (setRootPassword(rootPassword) != 0) return;
if (system(("echo 'root:" + rootPassword + "' | chpasswd -P /mnt").c_str()) != 0) return;
if (execInChroot("echo "+ hostname +" > /etc/hostname") != 0) return;
if (execInChroot("systemd-machine-id-setup") != 0) return;
if (execInChroot("gpg --import /lib/systemd/import-pubring.gpg") != 0) return;
Expand Down

0 comments on commit 38633f4

Please sign in to comment.