This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
технология_vagrant [2025/02/11 12:10] val [Внутри Vagrantfile] |
технология_vagrant [2026/08/29 20:29] (current) val [Технология Vagrant] |
||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ====== Технология Vagrant ====== | ====== Технология Vagrant ====== | ||
| + | |||
| + | * Может конфликтовать с Hyper-V | ||
| * [[https://ru.wikipedia.org/wiki/Vagrant|HashiCorp Vagrant]] | * [[https://ru.wikipedia.org/wiki/Vagrant|HashiCorp Vagrant]] | ||
| Line 50: | Line 52: | ||
| $ ### vagrant box add generic/debian12 | $ ### vagrant box add generic/debian12 | ||
| + | $ ### vagrant box remove generic/debian12 | ||
| $ vagrant box add /c/distrs/debian12-generic.box --name generic/debian12 | $ vagrant box add /c/distrs/debian12-generic.box --name generic/debian12 | ||
| Line 203: | Line 206: | ||
| timedatectl set-timezone Europe/Moscow | timedatectl set-timezone Europe/Moscow | ||
| - | apt update | + | apt-get update |
| - | #apt install -y docker.io | + | |
| + | apt-get purge resolvconf | ||
| + | rm /etc/resolv.conf | ||
| + | touch /etc/resolv.conf | ||
| + | |||
| + | #apt-get install -y docker.io | ||
| </code><code> | </code><code> | ||
| λ touch provision_onstart.sh | λ touch provision_onstart.sh | ||