This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | Next revision Both sides next revision | ||
технология_vagrant [2022/09/07 14:13] val [Управление образами] |
технология_vagrant [2022/09/08 14:29] val [Provision с использованием внешних скриптов] |
||
---|---|---|---|
Line 160: | Line 160: | ||
λ npp provision_once.sh & | λ npp provision_once.sh & | ||
</code><code> | </code><code> | ||
- | #sed -i 's/PasswordAuthentication no/PasswordAuthentication yes/g' /etc/ssh/sshd_config | + | sed -i 's/PasswordAuthentication no/PasswordAuthentication yes/g' /etc/ssh/sshd_config |
- | #echo 'root:strongpassword' | chpasswd | + | service ssh restart |
echo 'vagrant:strongpassword' | chpasswd | echo 'vagrant:strongpassword' | chpasswd | ||
+ | #echo 'root:strongpassword' | chpasswd | ||
+ | |||
timedatectl set-timezone Europe/Moscow | timedatectl set-timezone Europe/Moscow |