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 [2025/07/29 16:23] (current) val [Управление образами] |
||
---|---|---|---|
Line 50: | Line 50: | ||
$ ### 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 204: | ||
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 |