Устранены сообщения об отсутствии русской локализации при подключении по ssh

This commit is contained in:
Andrey Sokolov 2021-08-03 16:28:54 +03:00
parent 0b6b761060
commit 8ef1b618c1

View File

@ -17,6 +17,7 @@ mkdir root
sudo tar xf out/acos-latest-x86_64.tar -C root/ --exclude=./dev/tty --exclude=./dev/tty0 --exclude=./dev/console --exclude=./dev/urandom --exclude=./dev/random --exclude=./dev/full --exclude=./dev/zero --exclude=/dev/null --exclude=./dev/pts/ptmx --exclude=./dev/null
sudo chroot root/ systemctl enable ignition-firstboot-complete.service sshd
sudo sed -i 's/^LABEL=ROOT\t/LABEL=boot\t/g' root/etc/fstab
sudo sed -i 's/^AcceptEnv /#AcceptEnv /g' root/etc/openssh/sshd_config
echo "blacklist floppy" | sudo tee root/etc/modprobe.d/blacklist-floppy.conf
sudo mkdir root/sysroot
sudo ln -s sysroot/ostree root/ostree